Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.581 kB
build:
node-gyp build
clean:
node-gyp clean
db:
@if ! [ -f test/support/big.db ]; then \
echo "Creating test database... This may take several minutes." ; \
node test/support/createdb.js ; \
fi
ifndef only
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
NODE_PATH="./lib:$(NODE_PATH)" expresso -I lib test/*.test.js
else
test: build db
@rm -rf ./test/tmp && mkdir -p ./test/tmp
NODE_PATH="./lib:$(NODE_PATH)" expresso -I lib test/${only}.test.js
endif
.PHONY: build clean test
Jump to Line
Something went wrong with that request. Please try again.