Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mac- committed Sep 3, 2013
1 parent ec35049 commit 9f51c9c
Show file tree
Hide file tree
Showing 6 changed files with 552 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
lib-cov
*.seed
*~
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

npm-debug.log
node_modules
lib-test
test/coverage*
.DS*
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
clean:
npm cache clean && rm -rf node_modules/*

install:
npm install

test:
./node_modules/.bin/jshint lib/* --config test/jshint/config.json
@NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter spec --timeout 3000 test

test-cov:
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --timeout 3000 -R travis-cov test

test-cov-html:
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --timeout 3000 -R html-cov test > test/coverage.html
xdg-open "file://${CURDIR}/test/coverage.html" &

.PHONY: test test-cov test-cov-html
Loading

0 comments on commit 9f51c9c

Please sign in to comment.