fix : this didn't run on windows

pull/1486/head
Jonathan 2016-11-30 11:24:42 +01:00 committed by cinwell.li
parent 648c498fd9
commit c80db9ca8a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ Object.keys(components).forEach(key => {
});
const paths = componentPaths.join(',');
const cli = `node_modules/.bin/cooking build -c ${paths} -p`;
const cli = path.join('node_modules', '.bin', 'cooking') + ` build -c ${paths} -p`;
execSync(cli, {
stdio: 'inherit'