babel/Makefile
Sebastian McKenzie ae7d5367f1 6.0.0
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00

53 lines
985 B
Makefile

MAKEFLAGS = -j1
export NODE_ENV = test
.PHONY: clean test test-cov test-clean test-travis test-browser publish build bootstrap publish-core publish-runtime build-website build-core watch-core build-core-test clean-core prepublish
build: clean
./scripts/build.sh
build-dist: build
cd packages/babel-core; \
scripts/build-dist.sh
cd packages/babel-polyfill; \
scripts/build-dist.sh
cd packages/babel-runtime; \
node scripts/build-dist.js
watch: clean
scripts/build.sh --watch
lint:
node node_modules/.bin/eslint packages/*/src
#flow check
clean: test-clean
rm -rf coverage
test-clean:
rm -rf packages/*/test/tmp
rm -rf packages/*/test-fixtures.json
test: lint
./scripts/test.sh
make test-clean
test-cov: clean
BABEL_ENV=test; \
make build
./scripts/test-cov.sh
test-travis: bootstrap lint build test
publish:
git pull --rebase
make test
node scripts/publish.js
make clean
#./scripts/build-website.sh
bootstrap:
npm install
node scripts/bootstrap.js