Permalink
Browse files

Runs test target by default when no target is given

  • Loading branch information...
1 parent 141e369 commit c707e4e239634f8a1783ca488ad542047457b28e @c4milo c4milo committed Dec 21, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 Makefile
View
@@ -3,6 +3,9 @@ ALL_QA = $(shell find tests/ -name '*.qa.js')
REPORTER = spec
UI = bdd
+test:
+ @$(MAKE) TESTS="$(ALL_TESTS)" run-tests
+
run-tests:
@./node_modules/.bin/mocha \
--require should \
@@ -11,10 +14,8 @@ run-tests:
--growl \
$(TESTS)
-test:
- @$(MAKE) TESTS="$(ALL_TESTS)" run-tests
-
qa:
@$(MAKE) TESTS="$(ALL_QA)" UI=exports run-tests
-.PHONY: test
+.PHONY: test qa run-tests
+

0 comments on commit c707e4e

Please sign in to comment.