1fab72700SBrett Lawsonall: binding src/ deps/
24f5c019fSRod Vagg	@node-gyp build
373193b87STrond Norbye
44f5c019fSRod Vaggbinding: binding.gyp
54f5c019fSRod Vagg	@node-gyp configure
673193b87STrond Norbye
773193b87STrond Norbyeclean:
84f5c019fSRod Vagg	@node-gyp clean
90cba0c3aSBrett Lawson	rm -rf jsdoc
106e8e1a58SBrett Lawson	rm -f cbmock.js
1173193b87STrond Norbye
1273193b87STrond Norbyeinstall:
134f5c019fSRod Vagg	@npm install
1407cf92ccSTrond Norbye
15b80547ddSTrond Norbyenode_modules:
16b80547ddSTrond Norbye	@npm install
17b80547ddSTrond Norbye
18dfd712a8SBrett Lawsoncheckdeps:
19dfd712a8SBrett Lawson	node ./node_modules/npm-check/lib/cli.js -s
20dfd712a8SBrett Lawson
218ff1e11fSBrett Lawsoncheckaudit:
228ff1e11fSBrett Lawson	npm audit
238ff1e11fSBrett Lawson
246bfc6f19SBrett Lawsontest: node_modules
25d7189b90SBrett Lawson	./node_modules/mocha/bin/mocha test/*.test.js
26d7189b90SBrett Lawsonfasttest: node_modules
27d7189b90SBrett Lawson	./node_modules/mocha/bin/mocha test/*.test.js -ig "(slow)"
2839cb08f0SMark Nunberg
296bfc6f19SBrett Lawsonlint: node_modules
306bfc6f19SBrett Lawson	./node_modules/jshint/bin/jshint lib/*.js
316bfc6f19SBrett Lawson
32d7189b90SBrett Lawsoncover: node_modules
338ff1e11fSBrett Lawson	node ./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/_mocha test/*.test.js
34d7189b90SBrett Lawsonfastcover: node_modules
358ff1e11fSBrett Lawson	node ./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/_mocha -ig "(slow)" test/*.test.js
36d7189b90SBrett Lawson
378ff1e11fSBrett Lawsoncheck: checkdeps checkaudit test lint cover
386bfc6f19SBrett Lawson
396bfc6f19SBrett Lawsondocs: node_modules
406bfc6f19SBrett Lawson	node ./node_modules/jsdoc/jsdoc.js -c .jsdoc
416bfc6f19SBrett Lawson
42af37d28cSBrett Lawsonprebuilds:
43af37d28cSBrett Lawson	node ./node_modules/prebuild/bin.js
44af37d28cSBrett Lawson
45af37d28cSBrett Lawson.PHONY: all test clean docs browser prebuilds
46