summaryrefslogtreecommitdiff
path: root/node_modules/hooks/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/hooks/Makefile')
-rw-r--r--node_modules/hooks/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/hooks/Makefile b/node_modules/hooks/Makefile
new file mode 100644
index 0000000..1db5d65
--- /dev/null
+++ b/node_modules/hooks/Makefile
@@ -0,0 +1,9 @@
+test:
+ @NODE_ENV=test ./node_modules/expresso/bin/expresso \
+ $(TESTFLAGS) \
+ ./test.js
+
+test-cov:
+ @TESTFLAGS=--cov $(MAKE) test
+
+.PHONY: test test-cov