summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-27 03:17:22 -0400
committerDax Raad <[email protected]>2025-09-27 03:17:22 -0400
commitbab1ca54e4eda9d7886b1a8032b332e749e957e6 (patch)
tree2f43431e9c913424fb76bfcecf1d1378707a1473
parentd644e0b8a7ffbf42de50cd69e72c3edcd4366828 (diff)
downloadopencode-bab1ca54e4eda9d7886b1a8032b332e749e957e6.tar.gz
opencode-bab1ca54e4eda9d7886b1a8032b332e749e957e6.zip
ci: test
-rwxr-xr-xscript/hooks15
-rw-r--r--script/hooks.bat16
-rw-r--r--turbo.json5
3 files changed, 3 insertions, 33 deletions
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
diff --git a/turbo.json b/turbo.json
index 9b978176b..6b1c9b324 100644
--- a/turbo.json
+++ b/turbo.json
@@ -6,8 +6,9 @@
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
- "test": {
- "dependsOn": ["^test"]
+ "opencode#test": {
+ "dependsOn": ["^build"],
+ "outputs": []
}
}
}