openOutpaint/.githooks/windows/pre-commit

9 lines
248 B
Text
Raw Permalink Normal View History

#!/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"