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.
This commit is contained in:
2017-08-20 19:11:44 +01:00
parent 9be24ba511
commit ffc71e6c1a
2 changed files with 0 additions and 17 deletions

View File

@@ -1,15 +1,6 @@
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

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -ex
npm run lint
npm run test
node package.json