GT2/Ejectable/node_modules/options/Makefile

13 lines
208 B
Makefile
Raw Normal View History

2021-08-16 00:14:59 +00: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