Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (18 sloc) 0.499 kb
BIN = ./node_modules/.bin
all: browser test coverage
install:
npm link gear-lib
browser:
-$(BIN)/browserify lib/index.js -s GearLib -o build/gear-lib.js
-@$(BIN)/gear #npm link gear-lib
test:
npm test
coverage: lib-cov
-@GEARLIB_COVER=1 $(BIN)/mocha --require should --reporter mocha-istanbul
lib-cov:
@$(BIN)/istanbul instrument --output lib-cov --no-compact --variable global.__coverage__ lib
clean: clean-coverage
clean-coverage:
-rm -rf lib-cov
-rm -rf html-report
.PHONY: test
Jump to Line
Something went wrong with that request. Please try again.