openOutpaint/.githooks/linux/pre-commit
Victor Seiji Hariki 9f6b4e7305 separate hooks by platform
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-01 22:39:20 -03:00

9 lines
No EOL
239 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 gitadd
# Adds file to current commit
git add "**.html"