12 lines
149 B
Makefile
12 lines
149 B
Makefile
|
|
# Install node modules.
|
|
node_modules: package.json
|
|
@npm install
|
|
|
|
# Run the tests.
|
|
test:
|
|
@./node_modules/.bin/mocha
|
|
|
|
# Phony targets.
|
|
.PHONY: test
|