diff --git a/script/hooks b/script/hooks deleted file mode 100755 index 4597c6f4..00000000 --- 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 52d69010..00000000 --- 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 diff --git a/turbo.json b/turbo.json index 9b978176..6b1c9b32 100644 --- a/turbo.json +++ b/turbo.json @@ -6,8 +6,9 @@ "dependsOn": ["^build"], "outputs": ["dist/**"] }, - "test": { - "dependsOn": ["^test"] + "opencode#test": { + "dependsOn": ["^build"], + "outputs": [] } } }