Add docs and git hooks

This commit is contained in:
Timo
2025-03-25 20:13:34 +01:00
parent 6fa218dd91
commit f868eca938
4 changed files with 54 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/sh
FILE=.links.disabled.yaml
if test -f "$FILE"; then
# echo "$FILE exists. -> moving to .links.disabled.yaml"
mv .links.disabled.yaml .links.yaml
# echo "running yarn"
yarnLog=$(yarn)
echo "The post-commit hook enabled the links again: moved .links.disabled.yaml to .links.yaml and ran yarn."
exit 1
fi