Skip to content

Commit

Permalink
feat(core): run lerna builds in a stream
Browse files Browse the repository at this point in the history
  • Loading branch information
theiliad committed Oct 24, 2019
1 parent 0b809b2 commit ce35e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/build-demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ touch pages/.nojekyll


# run the demo:build script in all packages
lerna run --parallel demo:build
lerna run --stream demo:build
# copy all the demos/{package name here} folders to the pages deploy directory
lerna exec -- cp -a demo/bundle/. \$LERNA_ROOT_PATH/pages
4 changes: 2 additions & 2 deletions scripts/build-packages-and-demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ touch pages/.nojekyll


# run the build and demo:build script in all packages
lerna run --parallel build
lerna run --parallel demo:build
lerna run --stream build
lerna run --stream demo:build

# copy all the demos/{package name here} folders to the pages deploy directory
lerna exec -- \$LERNA_ROOT_PATH/scripts/copy-demos-to-deploy-dir.sh

0 comments on commit ce35e40

Please sign in to comment.