From 995b23787cd9c35513fed0f928f85c4c928c2cdb Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 11 Nov 2025 01:48:29 -0500 Subject: ci --- packages/opencode/script/build.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages') 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 = {} -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({ -- cgit v1.2.3