Add clean scripts
This commit is contained in:
parent
974536c669
commit
70871a5a44
5
Makefile
5
Makefile
|
@ -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'
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"depd": "./lib/browser.depd.js"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "make clean",
|
||||
"help": "make help",
|
||||
"test": "make test"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue