openOutpaint/.githooks/windows/pre-commit

9 lines
No EOL
248 B
Bash
Executable file

#!/bin/sh
#
# Script to perform some basic operations to the code before committing.
# Adds file hashes to html script imports for cache busting purposes
powershell .devtools/updatehashes.ps1 gitadd
# Adds file to current commit
git add "**.html"