PkmnLib.NET/.husky/pre-commit

8 lines
196 B
Plaintext
Raw Normal View History

2025-03-02 17:17:46 +00:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
STAGED_CS=`git diff --cached --name-only --diff-filter=ACMR --pickaxe-regex "*.cs" | tr '\n' ';'`
dotnet husky run --group pre-commit --args $STAGED_CS