Initial commit: breakpilot-lehrer - Lehrer KI Platform
Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website, Klausur-Service, School-Service, Voice-Service, Geo-Service, BreakPilot Drive, Agent-Core Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
studio-v2/.git-hooks/setup.sh
Executable file
21
studio-v2/.git-hooks/setup.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Setup git hooks for studio-v2
|
||||
#
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
|
||||
echo "Setting up git hooks for studio-v2..."
|
||||
|
||||
# Make hooks executable
|
||||
chmod +x "$SCRIPT_DIR/pre-push"
|
||||
|
||||
# Configure git to use custom hooks directory
|
||||
git config core.hooksPath .git-hooks
|
||||
|
||||
echo "Git hooks installed successfully!"
|
||||
echo ""
|
||||
echo "Hooks enabled:"
|
||||
echo " - pre-push: Runs E2E tests before pushing"
|
||||
echo ""
|
||||
echo "To disable hooks temporarily: git push --no-verify"
|
||||
Reference in New Issue
Block a user