Dax Raad il y a 4 mois
Parent
commit
bab1ca54e4
3 fichiers modifiés avec 3 ajouts et 33 suppressions
  1. 0 15
      script/hooks
  2. 0 16
      script/hooks.bat
  3. 3 2
      turbo.json

+ 0 - 15
script/hooks

@@ -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"

+ 0 - 16
script/hooks.bat

@@ -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

+ 3 - 2
turbo.json

@@ -6,8 +6,9 @@
       "dependsOn": ["^build"],
       "outputs": ["dist/**"]
     },
-    "test": {
-      "dependsOn": ["^test"]
+    "opencode#test": {
+      "dependsOn": ["^build"],
+      "outputs": []
     }
   }
 }