Permalink
Browse files

Package lazorse.js, force use of local mocha

  • Loading branch information...
grncdr committed Apr 9, 2012
1 parent 92a185d commit 4b8357de33c1ab59acf96ca1e923e1b64a5c7a17
Showing with 6 additions and 5 deletions.
  1. +3 −3 Makefile
  2. +3 −2 package.json
View
@@ -1,6 +1,6 @@
.PHONY : test
-PATH := ./node_modules/.bin/:$(PATH)
+BIN = ./node_modules/.bin
LIBS = $(subst src,lib,$(subst coffee,js,$(wildcard ./src/*.coffee)))
HEAD = $(shell git describe --contains --all HEAD)
REPORTER ?= dot
@@ -12,10 +12,10 @@ lib/%.js : src/%.coffee
@coffee -pbc $< > $@
test : all
- @mocha --compilers coffee:coffee-script --reporter $(REPORTER)
+ @$(BIN)/mocha --compilers coffee:coffee-script --reporter $(REPORTER)
%.js : %.coffee
- @coffee -pbc $< > $@
+ @$(BIN)/coffee -pbc $< > $@
clean :
@rm *.js lib/*.js || true
View
@@ -13,7 +13,8 @@
"lib",
"examples",
"test",
- "lazorse.coffee",
+ "Makefile",
+ "lazorse.js",
"README.rst"
],
"engines": {
@@ -33,4 +34,4 @@
"prepublish": "make release"
},
"optionalDependencies": {}
-}
+}

0 comments on commit 4b8357d

Please sign in to comment.