pomelo-admin1312
Version:
`pomelo-admin1312` is an admin console library for [pomelo](https://github.com/NetEase/pomelo). It provides the a series of utilities to monitor the `pomelo` server clusters.
22 lines (16 loc) • 414 B
Plain Text
SRC = $(shell find lib -type f -name "*.js")
TESTS = test/*
REPORTER = spec
TIMEOUT = 5000
test:
@./node_modules/.bin/mocha \
--reporter $(REPORTER) --timeout $(TIMEOUT) $(TESTS)
test-cov: lib-cov
@JSCOV=1 $(MAKE) test REPORTER=html-cov > coverage.html && open coverage.html
lib-cov:
@rm -rf ./$@
@jscoverage lib $@
clean:
rm -rf lib-cov
rm -f coverage.html