mirror of
https://github.com/arnaucube/raspberryGPIOhtmlserver.git
synced 2026-02-08 04:06:43 +01:00
13 lines
208 B
Makefile
Executable File
13 lines
208 B
Makefile
Executable File
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
|