toshihiko-memcached
Version:
The memcached support for Toshihiko as an addon.
25 lines (19 loc) • 495 B
Plain Text
TIMEOUT = 3000
MOCHA = ./node_modules/.bin/_mocha
ISTANBUL = ./node_modules/.bin/istanbul
COVERALLS = ./node_modules/coveralls/bin/coveralls.js
clean:
@rm -rf node_modules
install:
@npm install -d --registry=http://registry.npm.taobao.org/
test:
@NODE_ENV=test $(MOCHA) -t $(TIMEOUT)
test-coveralls:
NODE_ENV=test $(ISTANBUL) cover $(MOCHA) \
--report lcovonly \
-- \
-t $(TIMEOUT) \
-R spec && cat ./coverage/lcov.info | \
\
$(COVERALLS) && rm -rf ./coverage