Make it easier to re-run local prod builds (#8556) [skip ci]

This commit is contained in:
Logan Smyth 2018-08-27 10:43:45 -07:00 committed by Henry Zhu
parent 4e64807afc
commit 079780b432

View File

@ -107,15 +107,20 @@ test-test262-update-whitelist:
clone-license: clone-license:
./scripts/clone-license.sh ./scripts/clone-license.sh
publish: prepublish-build:
git pull --rebase
make clean-lib make clean-lib
rm -rf packages/babel-runtime/helpers rm -rf packages/babel-runtime/helpers
rm -rf packages/babel-runtime-corejs2/helpers rm -rf packages/babel-runtime-corejs2/helpers
rm -rf packages/babel-runtime-corejs2/core-js rm -rf packages/babel-runtime-corejs2/core-js
BABEL_ENV=production make build-dist BABEL_ENV=production make build-dist
make test
make clone-license make clone-license
prepublish:
git pull --rebase
make prepublish-build
make test
publish: prepublish
# not using lerna independent mode atm, so only update packages that have changed since we use ^ # not using lerna independent mode atm, so only update packages that have changed since we use ^
# --only-explicit-updates # --only-explicit-updates
./node_modules/.bin/lerna publish --force-publish=* ./node_modules/.bin/lerna publish --force-publish=*