Files
node-base58/Makefile
Jim Myhrberg ffc71e6c1a Remove git hooks
While it's a good idea to ensure you don't commit or push anything
broken, I believe that it should come down developer dicipline. Cause
preventing commits if tests or linting fails, can and does get in the
way of legitimate work, specially on non-master branches.
2017-08-20 19:20:27 +01:00

18 lines
298 B
Makefile

NPM_EXECUTABLE_HOME := node_modules/.bin
PATH := ${NPM_EXECUTABLE_HOME}:${PATH}
publish: npm-dep
npm publish
test: npm-dep
npm run test
lint: npm-dep
npm run lint
npm-dep:
test `which npm` || echo 'You need npm to do npm install... makes sense?'
.SILENT:
.PHONY: publish test lint npm-dep