remove lib/ before building
This commit is contained in:
parent
affa7f0c6f
commit
e7046abe72
11
Makefile
11
Makefile
@ -9,17 +9,20 @@ BABEL_CMD = node_modules/babel/bin/babel
|
|||||||
|
|
||||||
export NODE_ENV = test
|
export NODE_ENV = test
|
||||||
|
|
||||||
.PHONY: clean test test-cov test-clean test-travis test-simple test-all test-browser test-parser publish build bootstrap publish-core publish-runtime build-core watch-core build-core-test
|
.PHONY: clean test test-cov test-clean test-travis test-simple test-all test-browser test-parser publish build bootstrap publish-core publish-runtime build-core watch-core build-core-test clean-core
|
||||||
|
|
||||||
build-core:
|
build-core: clean-core
|
||||||
node $(BABEL_CMD) src --out-dir lib --copy-files
|
node $(BABEL_CMD) src --out-dir lib --copy-files
|
||||||
|
|
||||||
build-core-test:
|
build-core-test: clean-core
|
||||||
node $(BABEL_CMD) src --out-dir lib --copy-files --auxiliary-comment "istanbul ignore next"
|
node $(BABEL_CMD) src --out-dir lib --copy-files --auxiliary-comment "istanbul ignore next"
|
||||||
|
|
||||||
watch-core:
|
watch-core: clean-core
|
||||||
node $(BABEL_CMD) src --out-dir lib --watch --copy-files
|
node $(BABEL_CMD) src --out-dir lib --watch --copy-files
|
||||||
|
|
||||||
|
clean-core:
|
||||||
|
rm -rf lib
|
||||||
|
|
||||||
build:
|
build:
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
make build-core
|
make build-core
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user