Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 317 Bytes
VOWS_BIN=node_modules/.bin/vows
all: apidocs test
test: offline-tests online-tests
apidocs:
yuidoc -n -o docs ./ ./lib
offline-tests:
-$(VOWS_BIN) tests/offline-tests.js
online-tests:
@tests/confirm.sh
@tests/setup.sh > /dev/null
@sleep 1
-$(VOWS_BIN) tests/online-tests.js
@tests/teardown.sh > /dev/null