From 6b9c2509a009725d3a644d09ebf3a035e453aeb9 Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Mon, 27 Apr 2015 18:48:20 +0300 Subject: [PATCH] [fixed] Fix for bug 547 in tools/release. Conversation is here #547. Idea for this patch totally belongs to @mtscout6. I have just tested it and made PR. --- tools/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build.js b/tools/build.js index aa0d5c85e6..b9fe61f7ae 100644 --- a/tools/build.js +++ b/tools/build.js @@ -7,7 +7,7 @@ import lib from './lib/build'; import docs from '../docs/build'; import dist from './dist/build'; import { copy } from './fs-utils'; -import { setExecOptions } from './exec'; +import { exec, setExecOptions } from './exec'; import yargs from 'yargs'; @@ -37,7 +37,7 @@ export default function Build(noExitOnFailure) { lib(), bower(), dist(), - docs() + exec(`npm run docs-build`) ]) .then(() => copy(distFolder, amdFolder));