Permalink
Browse files

Added makefile

  • Loading branch information...
peters committed Sep 13, 2012
1 parent 2a9741c commit 8a3a1ee9a5516e4603f81ee33de48142bfb8f013
Showing with 22 additions and 0 deletions.
  1. +22 −0 Makefile
View
@@ -0,0 +1,22 @@
+ALL_TESTS = $(shell find test -name '*.test.js')
+REPORTER = spec
+UI = bdd
+
+all: clean build test
+
+test:
+ @./node_modules/.bin/mocha \
+ --require should \
+ --reporter $(REPORTER) \
+ --ui $(UI) \
+ --growl \
+ $(ALL_TESTS)
+
+clean:
+ @node-gyp clean
+ @rm -rf test/fixtures/transcode/*
+
+build:
+ @node-gyp configure build
+
+.PHONY: test

0 comments on commit 8a3a1ee

Please sign in to comment.