소스 검색

fix : this didn't run on windows

Jonathan 8 년 전
부모
커밋
c80db9ca8a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      build/bin/build-all.js

+ 1 - 1
build/bin/build-all.js

@@ -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'