Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Makefile: add NODE custom variable support

Makes it easy to plug in a different node executable to test with.
  • Loading branch information...
commit 97b0a88e0cb76ba6c7ab0d7ad87262aebe6e9bf3 1 parent 42ec32e
@TooTallNate TooTallNate authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 Makefile
View
5 Makefile
@@ -1,6 +1,7 @@
+NODE ?= node
test:
- @./node_modules/.bin/mocha \
+ @$(NODE) ./node_modules/.bin/mocha \
--require should \
--reporter spec \
--slow 2s \
@@ -8,7 +9,7 @@ test:
--bail
bench:
- @./node_modules/.bin/matcha \
+ @$(NODE) ./node_modules/.bin/matcha \
--harmony-generators \
benchmark
Please sign in to comment.
Something went wrong with that request. Please try again.