openOutpaint/.githooks/pre-commit
Victor Seiji Hariki 6d31640ae5 now only adds html files
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-30 07:27:26 -03:00

9 lines
No EOL
232 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
sh .devtools/updatehashes.sh
# Adds file to current commit
git add "**.html"