From 6a9b52ee90eda26cd768f8c8c889d2634ce41112 Mon Sep 17 00:00:00 2001 From: Jesse McCarthy Date: Mon, 18 Jan 2016 13:46:26 -0500 Subject: [PATCH 1/3] Revert "Add node_modules/.bin to PATH." This reverts commit 25fb2b8410b105032e0552bd3325784404c904a0. This didn't work as intended. Now it's cruft / misleading. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 99bc345dae..e80fa9082f 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,6 @@ 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 From 9ea64e097341b2a9c8fa32cbd6f76cf1b65f49d4 Mon Sep 17 00:00:00 2001 From: Jesse McCarthy Date: Mon, 18 Jan 2016 12:55:20 -0500 Subject: [PATCH 2/3] Delete unneccessary `node` command. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e80fa9082f..0b47a0baa3 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ watch: clean 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* From 30cf018d33562a38e10c79b27c8cf07addcf6344 Mon Sep 17 00:00:00 2001 From: Jesse McCarthy Date: Mon, 18 Jan 2016 13:53:30 -0500 Subject: [PATCH 3/3] Homogenize node_modules/.bin references. Some had leading `./` some didn't. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0b47a0baa3..cc3ce3d76d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ export NODE_ENV = test .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; \ @@ -14,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_modules/.bin/eslint packages/*/src + ./node_modules/.bin/eslint packages/*/src clean: test-clean rm -rf packages/babel-polyfill/browser* @@ -37,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