Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (29 sloc) 650 Bytes
REPORTER = spec
all: build
build:
@./node_modules/coffee-script/bin/coffee \
-c \
-o lib src
test-tdd:
@./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require should \
--require sinon \
--ui tdd \
test/tdd/*.js
test-bdd:
@./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require should \
--ui bdd \
test/*.js
test-bdd-coffee:
@./node_modules/.bin/mocha \
--compilers coffee:coffee-script \
--reporter $(REPORTER) \
--require should \
--require coffee-script/register \
--ui bdd \
test/*.coffee
test-all: test-tdd test-bdd test-bdd-coffee
.PHONY: test-all