You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
208 B

7 years ago
  1. ALL_TESTS = $(shell find test/ -name '*.test.js')
  2. run-tests:
  3. @./node_modules/.bin/mocha \
  4. -t 2000 \
  5. $(TESTFLAGS) \
  6. $(TESTS)
  7. test:
  8. @$(MAKE) NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests
  9. .PHONY: test