mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use lnms dev:check instead of pre-commit.php (#12149)
* Remove pre-commit.php references WIP * remove pre-commit.php references
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
# Call pre-commit.php with options that work well when used as a git pre-commit hook
|
||||
# Call ./lnms dev:check 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
|
||||
${SCRIPT_DIR}/lnms dev:check
|
||||
|
||||
Reference in New Issue
Block a user