Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Package lazorse.js, force use of local mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
grncdr committed Apr 9, 2012
1 parent 92a185d commit 4b8357d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
@@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -13,7 +13,8 @@
"lib",
"examples",
"test",
"lazorse.coffee",
"Makefile",
"lazorse.js",
"README.rst"
],
"engines": {
Expand All @@ -33,4 +34,4 @@
"prepublish": "make release"
},
"optionalDependencies": {}
}
}

0 comments on commit 4b8357d

Please sign in to comment.