From bab1ca54e4eda9d7886b1a8032b332e749e957e6 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sat, 27 Sep 2025 03:17:22 -0400 Subject: ci: test --- script/hooks | 15 --------------- script/hooks.bat | 16 ---------------- 2 files changed, 31 deletions(-) delete mode 100755 script/hooks delete mode 100644 script/hooks.bat (limited to 'script') diff --git a/script/hooks b/script/hooks deleted file mode 100755 index 4597c6f41..000000000 --- a/script/hooks +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -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" diff --git a/script/hooks.bat b/script/hooks.bat deleted file mode 100644 index 52d690100..000000000 --- a/script/hooks.bat +++ /dev/null @@ -1,16 +0,0 @@ -@echo off - -if not exist ".git" ( - exit /b 0 -) - -if not exist ".git\hooks" ( - mkdir ".git\hooks" -) - -( - echo #!/bin/sh - echo bun run typecheck -) > ".git\hooks\pre-push" - -echo ✅ Pre-push hook installed -- cgit v1.2.3