mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-10-10 18:26:51 +02:00
cfd29d84e6
- hooks are installed automatically with npm install command - add commit-msg, pre-commit and pre-push hooks - integrate captainhook commands into the created git hooks
9 lines
220 B
Bash
Executable File
9 lines
220 B
Bash
Executable File
#!/bin/sh
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
# CaptainHook 5.10.0
|
|
|
|
INTERACTIVE="--no-interaction"
|
|
|
|
vendor/bin/captainhook $INTERACTIVE --configuration=captainhook.json --bootstrap=vendor/autoload.php hook:pre-push "$@" <&0
|