mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(build): changed docs task name
changed docs task name
This commit is contained in:
@ -11,8 +11,9 @@ import { argv } from 'yargs';
|
|||||||
|
|
||||||
import { DEMOS_ROOT } from '../constants';
|
import { DEMOS_ROOT } from '../constants';
|
||||||
|
|
||||||
|
task('docs', ['docs.dgeni', 'docs.copyDemos', 'docs.sassVariables']);
|
||||||
|
|
||||||
task('docs', () => {
|
task('docs.dgeni', () => {
|
||||||
const docVersion = argv['doc-version'] || 'nightly';
|
const docVersion = argv['doc-version'] || 'nightly';
|
||||||
const initialVersionBuild = argv['initial-build'] || false;
|
const initialVersionBuild = argv['initial-build'] || false;
|
||||||
if (docVersion !== 'nightly' && ! valid(docVersion)) {
|
if (docVersion !== 'nightly' && ! valid(docVersion)) {
|
||||||
|
Reference in New Issue
Block a user