only compile babel folder in src

This commit is contained in:
Sebastian McKenzie
2015-03-16 19:25:58 +11:00
parent b1c5915ed3
commit b495370740

View File

@@ -11,13 +11,13 @@ export NODE_ENV = test
.PHONY: clean test test-cov test-clean test-travis test-simple test-all test-browser publish build bootstrap publish-core publish-runtime build-core watch-core build-core-test
build-core:
node $(BABEL_CMD) src --out-dir lib --copy-files
node $(BABEL_CMD) src/babel --out-dir lib/babel --copy-files
build-core-test:
node $(BABEL_CMD) src --out-dir lib --copy-files --auxiliary-comment "istanbul ignore next"
node $(BABEL_CMD) src/babel --out-dir lib/babel --copy-files --auxiliary-comment "istanbul ignore next"
watch-core:
node $(BABEL_CMD) src --out-dir lib --watch --copy-files
node $(BABEL_CMD) src/babel --out-dir lib/babel --watch --copy-files
build:
mkdir -p dist