From 2c85ada05dbf6fb8c4fe38c293da3b53aa482284 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 9 Oct 2014 15:04:27 +1100 Subject: [PATCH] fix `make test` cleaning - fixes #23 --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1846e91f5b..b17df0a5e8 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,9 @@ export NODE_ENV = test .PHONY: clean test test-cov test-travis publish bench build clean: - rm -rf coverage templates.json test/tmp + rm -rf coverage templates.json test/tmp build test: - make clean $(MOCHA_CMD) rm -rf test/tmp @@ -26,7 +25,10 @@ test-travis: if test -n "$$CODECLIMATE_REPO_TOKEN"; then codeclimate < coverage/lcov.info; fi build: - # build for the browser + mkdir build + cd build + browserify lib/6to5/transform.js >6to5.js + uglifyjs 6to5.js >6to5.min.js publish: make clean