Merge pull request #3278 from jmm/makefile-npm-bins

Update node_modules/.bin references in Makefile
This commit is contained in:
Henry Zhu 2016-01-18 18:30:18 -05:00
commit e5383aa447

View File

@ -2,12 +2,10 @@ MAKEFLAGS = -j1
export NODE_ENV = test
PATH := node_modules/.bin:$(PATH)
.PHONY: clean test test-only test-cov test-clean test-travis publish build bootstrap publish-core publish-runtime build-website build-core watch-core build-core-test clean-core prepublish
build: clean
node_modules/.bin/gulp build
./node_modules/.bin/gulp build
build-dist: build
cd packages/babel-polyfill; \
@ -16,10 +14,10 @@ build-dist: build
node scripts/build-dist.js
watch: clean
node_modules/.bin/gulp watch
./node_modules/.bin/gulp watch
lint:
node node_modules/.bin/eslint packages/*/src
./node_modules/.bin/eslint packages/*/src
clean: test-clean
rm -rf packages/babel-polyfill/browser*
@ -39,7 +37,7 @@ test: lint test-only
test-cov: clean
# rebuild with test
rm -rf packages/*/lib
BABEL_ENV=test; node_modules/.bin/gulp build
BABEL_ENV=test; ./node_modules/.bin/gulp build
./scripts/test-cov.sh