updated hooks folder location
This commit is contained in:
parent
630eb55f09
commit
a0e047db97
3 changed files with 1 additions and 1 deletions
3
.hooks/post-commit
Executable file
3
.hooks/post-commit
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
git stash pop -q
|
11
.hooks/pre-commit
Executable file
11
.hooks/pre-commit
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
git stash -q --keep-index
|
||||
|
||||
./lint.sh
|
||||
|
||||
RESULT=$?
|
||||
|
||||
git add -u
|
||||
|
||||
exit $RESULT
|
Loading…
Add table
Add a link
Reference in a new issue