Permalink
Showing
with
11 additions
and
3 deletions.
-
+11
−3
Makefile
|
|
@@ -1,9 +1,17 @@ |
|
|
MOCHA_OPTS= --check-leaks
|
|
|
REPORTER = spec
|
|
|
|
|
|
-test:
|
|
|
+default: test build lint
|
|
|
+
|
|
|
+test:
|
|
|
@NODE_ENV=test ./node_modules/.bin/mocha \
|
|
|
--reporter $(REPORTER) \
|
|
|
$(MOCHA_OPTS)
|
|
|
-
|
|
|
-.PHONY: test
|
|
|
+
|
|
|
+build:
|
|
|
+ grunt uglify concat
|
|
|
+
|
|
|
+lint:
|
|
|
+ grunt jshint
|
|
|
+
|
|
|
+.PHONY: test build build
|
0 comments on commit
c327e41