Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 361 Bytes
TESTS = $(shell find test/ -name "*.test.js" -type f | sort)
UI = tdd
REPORTER = dot
check: test
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--require ./test/support/bootstrap.js \
--ui $(UI) \
$(TESTS)
browser: $(SRC)
@node support/compile $^
clean:
@rm -f range.js
@rm -f range.min.js
.PHONY: test browser clean