aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-06-18 20:51:13 -0700
committerJames Lal <james@lightsofapollo.com>2012-06-18 20:51:13 -0700
commita6c747412c0960331e4055eee97d8328ff88d584 (patch)
treec4a82365e592a2d1cfa46cd0f5f595dde6626ff8 /Makefile
downloadjsCalDAV-a6c747412c0960331e4055eee97d8328ff88d584.tar.gz
Initial hack
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..de8556a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+REPORTER := spec
+
+.PHONY: test
+test:
+ ./node_modules/mocha/bin/mocha \
+ --ui tdd \
+ --reporter $(REPORTER) \
+ --growl test/helper.js \
+ test/caldav/*_test.js
+
+.PHONY: watch
+FILES=
+watch:
+ ./node_modules/mocha/bin/mocha \
+ --ui tdd \
+ --reporter $(REPORTER) \
+ --watch \
+ --growl \
+ test/helper.js $(FILES)