UNPKG

canihaz

Version:

canihaz allows you to lazy install npm modules because not every dependency is needed.

13 lines (10 loc) 272 B
ALL_TESTS = $(shell find test/ -name '*.test.js') NPM_TARBALL = $(shell npm pack -q) test: @tar -xvzf $(NPM_TARBALL) @mv ./package ./node_modules/canihaz @rm $(NPM_TARBALL) @./node_modules/.bin/mocha $(ALL_TESTS) @rm -rf ./node_modules @npm install . .PHONY: test