mirror of
https://github.com/jimeh/node-base58.git
synced 2026-02-18 23:26:40 +00:00
27 lines
437 B
Makefile
27 lines
437 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-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
|