Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.441 kb
compile:
./node_modules/coffee-script/bin/coffee -bw -o ./lib -c ./src
MOCHA_TESTS := $(shell find test/ -name '*.mocha.coffee')
MOCHA := $(shell which mocha)
OUT_FILE = "test-output.tmp"
g = "."
test-mocha:
@NODE_ENV=test $(MOCHA) \
--colors \
--reporter spec \
--grep "$(g)" \
$(MOCHA_TESTS) | tee $(OUT_FILE)
test: test-mocha
test!:
@perl -n -e '/\[31m 0\) (.*?).\[0m/ && print "make test g=\"$$1\$$\""' $(OUT_FILE) | sh
Jump to Line
Something went wrong with that request. Please try again.