Bones/node_modules/options/Makefile

13 lines
208 B
Makefile
Raw Normal View History

2017-05-17 13:45:25 -04:00
ALL_TESTS = $(shell find test/ -name '*.test.js')
run-tests:
@./node_modules/.bin/mocha \
-t 2000 \
$(TESTFLAGS) \
$(TESTS)
test:
@$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
.PHONY: test