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

Commit

Permalink
Add clean and install steps before building
Browse files Browse the repository at this point in the history
See #1057
  • Loading branch information
Arnaud Didry committed Sep 20, 2017
1 parent f603927 commit c73785b
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 c73785b

Please sign in to comment.