We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f151f11 + c85e75e commit c8e8825Copy full SHA for c8e8825
1 file changed
tools/build.js
@@ -25,6 +25,15 @@ const argv = yargs
25
26
setExecOptions(argv);
27
28
+function forkAndBuildDocs(fork) {
29
+ console.log('Building: '.cyan + 'docs'.green);
30
+
31
+ let options = argv.verbose ? ' -- --verbose' : '';
32
33
+ return exec(`npm run docs-build${options}`)
34
+ .then(() => console.log('Built: '.cyan + 'docs'.green));
35
+}
36
37
export default function Build(noExitOnFailure) {
38
if (argv.docsOnly) {
39
return docs();
@@ -33,7 +42,7 @@ export default function Build(noExitOnFailure) {
42
lib(),
43
bower(),
44
dist(),
- exec(`npm run docs-build`)
45
+ forkAndBuildDocs()
46
])
47
.then(() => copy(distRoot, bowerRoot));
48
0 commit comments