Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1058 from fizix-io/clean-before-build
Browse files Browse the repository at this point in the history
Add clean and install steps before building
  • Loading branch information
fzaninotto authored Sep 20, 2017
2 parents c417ac3 + c73785b commit 96bb49e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ run: example_install ## run the example
example_install: example/package.json
@cd example && npm install

build: ## compile ES6 files to JS
clean:
@rm -rf lib

build: clean ## compile ES6 files to JS
@NODE_ENV=production ./node_modules/.bin/babel ./src -d lib --ignore '*.spec.js'

watch: ## continuously compile ES6 files to JS
Expand Down

0 comments on commit 96bb49e

Please sign in to comment.