Permalink
Browse files

Add building and linting to Makefile for CI

1 parent 317ab02 commit c327e418dd702de9535c81c30406ff070747bedc @brianpeiris brianpeiris committed Jan 28, 2014
Showing with 11 additions and 3 deletions.
  1. +11 −3 Makefile
View
@@ -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

Please sign in to comment.