Move .husky to root path

Add .husky
This commit is contained in:
Chi-Hsuan Huang 2022-03-30 15:41:59 +08:00
parent 73409592b7
commit ae44908f33
5 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
node bin/pre-push-hook.js ./bin/post-merge.sh

4
.husky/post-push Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
./bin/post-push.sh