Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (19 sloc) 0.522 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

build:
node-waf build

clean:
node-waf 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
@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
endif

.PHONY: build clean test
Something went wrong with that request. Please try again.