Add clean scripts

This commit is contained in:
Simon Ho 2015-11-24 22:04:13 -08:00
parent 974536c669
commit 70871a5a44
2 changed files with 6 additions and 0 deletions

View File

@ -4,10 +4,15 @@ TESTS = test/*.test.js
default: help
.PHONY: clean
clean:
rm -rf $(CURDIR)/node_modules
.PHONY: help
help:
@echo 'Usage: make [target]'
@echo 'Targets:'
@echo ' clean Delete `node_modules`'
@echo ' help Print help (this message)'
@echo ' test Run tests in silent mode'
@echo ' test-verbose Run tests in verbose mode'

View File

@ -20,6 +20,7 @@
"depd": "./lib/browser.depd.js"
},
"scripts": {
"clean": "make clean",
"help": "make help",
"test": "make test"
},