redis-geo
Version:
redis geo-ip lokup
19 lines (14 loc) • 362 B
Plain Text
REPORTER = spec
TESTS ?= $(wildcard test/*.test.js)
test:
@NODE_ENV=test ./node_modules/.bin/mocha $(TESTS) \
--require "should" \
--growl \
--reporter $(REPORTER)
test-cov: lib-cov
@REDIS_GEO=1 $(MAKE) test REPORTER=html-cov > coverage.html
lib-cov:
@jscoverage lib lib-cov
clean:
@rm -rf lib-cov coverage.html