dev: bump to 0.1.72-dev – Autoplay-Setting, Moflix Hoster-Dialog, Update-Hinweis im Hauptmenue
This commit is contained in:
14
scripts/install_hooks.sh
Normal file
14
scripts/install_hooks.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Installiert Git Hooks für das Dev-Workflow als Symlinks
|
||||
|
||||
root=$(git rev-parse --show-toplevel)
|
||||
hooks_src="$root/scripts/hooks"
|
||||
hooks_dst="$root/.git/hooks"
|
||||
|
||||
for hook in pre-commit commit-msg post-commit; do
|
||||
chmod +x "$hooks_src/$hook"
|
||||
ln -sf "$hooks_src/$hook" "$hooks_dst/$hook"
|
||||
echo "Installiert: $hook"
|
||||
done
|
||||
|
||||
echo "Alle Hooks aktiv."
|
||||
Reference in New Issue
Block a user