mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
6 lines
210 B
Bash
Executable File
6 lines
210 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# Call pre-commit.php with options that work well when used as a git pre-commit hook
|
|
|
|
SCRIPT_DIR=`dirname "$(readlink -f "$0")"`
|
|
${SCRIPT_DIR}/pre-commit.php --lint --style --unit --fail-fast
|