Skip to content

Commit

Permalink
Merge pull request #189 from stephenmathieson/fix/gh-162
Browse files Browse the repository at this point in the history
Makefile: add a `distclean` target
  • Loading branch information
TooTallNate committed Mar 26, 2015
2 parents 0a8e4b7 + 2de6469 commit 9feaf47
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ all: dist/debug.js
install: node_modules

clean:
@rm -rf node_modules dist
@rm -rf dist

dist:
@mkdir -p $@
Expand All @@ -26,8 +26,11 @@ dist/debug.js: node_modules browser.js debug.js dist
--standalone debug \
. > $@

distclean: clean
@rm -rf node_modules

node_modules: package.json
@NODE_ENV= $(NPM) install
@touch node_modules

.PHONY: all install clean
.PHONY: all install clean distclean

0 comments on commit 9feaf47

Please sign in to comment.