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:
|
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=*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user