From e7046abe72b7f7ebd85816f20d8863864495ec69 Mon Sep 17 00:00:00 2001 From: Christopher Monsanto Date: Sun, 26 Apr 2015 20:46:34 -0400 Subject: [PATCH] remove lib/ before building --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7e07501395..baf39b2530 100644 --- a/Makefile +++ b/Makefile @@ -9,17 +9,20 @@ BABEL_CMD = node_modules/babel/bin/babel 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 -build-core-test: +build-core-test: clean-core 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 +clean-core: + rm -rf lib + build: mkdir -p dist make build-core