Make it easier to re-run local prod builds (#8556) [skip ci]
This commit is contained in:
parent
4e64807afc
commit
079780b432
11
Makefile
11
Makefile
@ -107,15 +107,20 @@ test-test262-update-whitelist:
|
||||
clone-license:
|
||||
./scripts/clone-license.sh
|
||||
|
||||
publish:
|
||||
git pull --rebase
|
||||
prepublish-build:
|
||||
make clean-lib
|
||||
rm -rf packages/babel-runtime/helpers
|
||||
rm -rf packages/babel-runtime-corejs2/helpers
|
||||
rm -rf packages/babel-runtime-corejs2/core-js
|
||||
BABEL_ENV=production make build-dist
|
||||
make test
|
||||
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 ^
|
||||
# --only-explicit-updates
|
||||
./node_modules/.bin/lerna publish --force-publish=*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user