mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-19 07:36:40 +00:00
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.
18 lines
298 B
Makefile
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
|