Skip to content

Commit

Permalink
fix(build) buildup/builddown: Ensure lerna is on PATH (#3094)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Pierre Gingras authored and Elad Ben-Israel committed Jun 27, 2019
1 parent 800ecf2 commit 71ad83d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/builddown
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -euo pipefail

export PATH=$(npm bin):$PATH
export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"

scriptdir=$(cd $(dirname $0) && pwd)
export PATH=$(cd $scriptdir && npm bin):$PATH
scope=$(${scriptdir}/current-scope)
exec lerna run build --scope ${scope} --include-filtered-dependents
2 changes: 1 addition & 1 deletion scripts/buildup
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -euo pipefail

export PATH=$(npm bin):$PATH
export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"

scriptdir=$(cd $(dirname $0) && pwd)
export PATH=$(cd $scriptdir && npm bin):$PATH
scope=$(${scriptdir}/current-scope)
exec lerna run build --scope ${scope} --include-filtered-dependencies

0 comments on commit 71ad83d

Please sign in to comment.