Skip to content

Commit 6527a12

Browse files
authored
fix aur build (anomalyco#4359)
1 parent 0377cfd commit 6527a12

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- dev
7-
- windows
7+
- fix-build
88
- v0
99

1010
concurrency: ${{ github.workflow }}-${{ github.ref }}

packages/opencode/script/build.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env bun
22

3-
import solidPlugin from "../node_modules/@opentui/solid/scripts/solid-plugin"
43
import path from "path"
54
import fs from "fs"
65
import { $ } from "bun"
@@ -10,6 +9,9 @@ const __filename = fileURLToPath(import.meta.url)
109
const __dirname = path.dirname(__filename)
1110
const dir = path.resolve(__dirname, "..")
1211

12+
const solidPluginPath = path.resolve(dir, "node_modules/@opentui/solid/scripts/solid-plugin.ts")
13+
const solidPlugin = (await import(solidPluginPath)).default
14+
1315
process.chdir(dir)
1416

1517
import pkg from "../package.json"

0 commit comments

Comments
 (0)