Skip to content

Commit

Permalink
Add clean task
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Aug 23, 2015
1 parent e46dbca commit 2e06b7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ $(TEST_HTML): $(TESTS) $(SOURCE) $(QUNIT_JS) $(QUNIT_CSS)
$(TEST_RUNNER): $(PHANTOMJS_RUNNER)
mkdir -p tests
cat $< | replace 'exit(failed ? 1 : 0);' 'setTimeout(function(){exit(failed ? 1 : 0);}, 500);' > $@

.PHONY: clean
clean:
rm $(TARGET)
rm -r tests
rm -r node_modules

0 comments on commit 2e06b7d

Please # to comment.