summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-11-11 01:48:29 -0500
committerDax Raad <[email protected]>2025-11-11 01:48:29 -0500
commit995b23787cd9c35513fed0f928f85c4c928c2cdb (patch)
tree95a12f9968410e4ed292e304e9b77c5292b2a6f6 /packages
parented8e663e13db2409f3bf6733c41ef21e5258c364 (diff)
downloadopencode-995b23787cd9c35513fed0f928f85c4c928c2cdb.tar.gz
opencode-995b23787cd9c35513fed0f928f85c4c928c2cdb.zip
ci
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/opencode/script/build.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/opencode/script/build.ts b/packages/opencode/script/build.ts
index 773e46288..854e7ed18 100755
--- a/packages/opencode/script/build.ts
+++ b/packages/opencode/script/build.ts
@@ -83,8 +83,8 @@ const targets = singleFlag
await $`rm -rf dist`
const binaries: Record<string, string> = {}
-await $`bun install --os="*" --arch="*" @opentui/core@${pkg.dependencies["@opentui/core"]}`
-await $`bun install --os="*" --arch="*" @parcel/watcher@${pkg.dependencies["@parcel/watcher"]}`
+await $`bun install --os="*" --cpu="*" @opentui/core@${pkg.dependencies["@opentui/core"]}`
+await $`bun install --os="*" --cpu="*" @parcel/watcher@${pkg.dependencies["@parcel/watcher"]}`
for (const item of targets) {
const name = [
pkg.name,
@@ -98,7 +98,7 @@ for (const item of targets) {
console.log(`building ${name}`)
await $`mkdir -p dist/${name}/bin`
- const parserWorker = fs.realpathSync(path.resolve(dir, "./node_modules/@opentui/core/parser.worker.js"))
+ const parserWorker = fs.realpathSync(path.resolve(dir, "../../node_modules/@opentui/core/parser.worker.js"))
const workerPath = "./src/cli/cmd/tui/worker.ts"
await Bun.build({