This commit is contained in:
Dax Raad 2025-06-19 00:20:03 -04:00
parent 8619c50976
commit 3862184ccb
4 changed files with 17 additions and 6 deletions

15
scripts/hooks Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
if [ ! -d ".git" ]; then
exit 0
fi
mkdir -p .git/hooks
cat > .git/hooks/pre-push << 'EOF'
#!/bin/sh
bun run typecheck
EOF
chmod +x .git/hooks/pre-push
echo "✅ Pre-push hook installed"

View file

@ -1,3 +0,0 @@
#!/usr/bin/env bash
set -e
goreleaser build --clean --snapshot --skip validate