This commit is contained in:
Ryan Hughes committed 2025-10-28 10:26:47 -04:00
1 parent d6a5190663
commit 2fc29919b8
45 files changed
+380 -133

No files matched your search

-12
View File
@@ -20,18 +20,6 @@ sha256sums=('SKIP')
build() {
cd "opencode-${pkgver}"
bun install
# Fix for bun compile not finding platform-specific @parcel/watcher
# The compile step needs this to be explicitly installed
case "${CARCH}" in
x86_64)
bun add @parcel/watcher-linux-x64-glibc --optional
;;
aarch64)
bun add @parcel/watcher-linux-arm64-glibc --optional
;;
esac
cd packages/tui
CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${pkgver}" -o tui cmd/opencode/main.go
cd ../opencode