|
@@ -9,9 +9,6 @@ const sidecarConfig = getCurrentSidecar(RUST_TARGET)
|
|
|
|
|
|
|
|
const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode`
|
|
const binaryPath = `../opencode/dist/${sidecarConfig.ocBinary}/bin/opencode`
|
|
|
|
|
|
|
|
-if (!(await fs.exists(binaryPath))) {
|
|
|
|
|
- console.log("opencode binary not found, building...")
|
|
|
|
|
- await $`cd ../opencode && bun run build --single`
|
|
|
|
|
-}
|
|
|
|
|
|
|
+await $`cd ../opencode && bun run build --single`
|
|
|
|
|
|
|
|
await copyBinaryToSidecarFolder(binaryPath, RUST_TARGET)
|
|
await copyBinaryToSidecarFolder(binaryPath, RUST_TARGET)
|