Commit e5498c58 by Dane Springmeyer

set NODE_PATH so that make test works

parent 586f5a6a
......@@ -14,11 +14,11 @@ db:
ifndef only
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
@expresso -I lib test/*.test.js
NODE_PATH=./lib:$NODE_PATH expresso -I lib test/*.test.js
else
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
@expresso -I lib test/${only}.test.js
NODE_PATH=./lib:$NODE_PATH expresso -I lib test/${only}.test.js
endif
.PHONY: build clean test
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment