fix make test cleaning - fixes #23
This commit is contained in:
parent
bb6e048133
commit
2c85ada05d
8
Makefile
8
Makefile
@ -6,10 +6,9 @@ export NODE_ENV = test
|
|||||||
.PHONY: clean test test-cov test-travis publish bench build
|
.PHONY: clean test test-cov test-travis publish bench build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf coverage templates.json test/tmp
|
rm -rf coverage templates.json test/tmp build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
make clean
|
|
||||||
$(MOCHA_CMD)
|
$(MOCHA_CMD)
|
||||||
rm -rf test/tmp
|
rm -rf test/tmp
|
||||||
|
|
||||||
@ -26,7 +25,10 @@ test-travis:
|
|||||||
if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi
|
if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi
|
||||||
|
|
||||||
build:
|
build:
|
||||||
# build for the browser
|
mkdir build
|
||||||
|
cd build
|
||||||
|
browserify lib/6to5/transform.js >6to5.js
|
||||||
|
uglifyjs 6to5.js >6to5.min.js
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
make clean
|
make clean
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user