Files
node-base58/Makefile
2017-07-08 09:03:31 -07:00

24 lines
406 B
Makefile

NPM_EXECUTABLE_HOME := node_modules/.bin
PATH := ${NPM_EXECUTABLE_HOME}:${PATH}
hooks: .git/hooks/pre-commit
hooks: .git/hooks/pre-push
.git/hooks/pre-commit: hook.sh
cp $< $@
.git/hooks/pre-push: hook.sh
cp $< $@
publish: npm publish
test: npm test
lint: 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