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:
Tony Murray
2020-09-24 05:32:03 -05:00
committed by GitHub
parent 93e43d09bc
commit e944456943
4 changed files with 16 additions and 22 deletions

View File

@@ -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