Skip to content

Commit

Permalink
Add Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed May 18, 2011
1 parent f82ddbe commit 6e5634a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CWD=`pwd`

FILES=`find tests -name test-*.js -print0`

test:
NODE_PATH=`pwd`/lib whiskey --tests "${CWD}/${FILES}"

coverage:
NODE_PATH=`pwd`/lib whiskey --tests "${CWD}/${FILES}" --coverage --coverage-reporter html --coverage-dir coverage_html

.PHONY: test coverage

0 comments on commit 6e5634a

Please sign in to comment.