Update to v1.0.14
This commit is contained in:
8
PKGBUILD
8
PKGBUILD
@@ -2,7 +2,7 @@
|
||||
# Maintainer: adam
|
||||
|
||||
pkgname='opencode'
|
||||
pkgver=1.0.13
|
||||
pkgver=1.0.14
|
||||
_subver=
|
||||
options=('!debug' '!strip')
|
||||
pkgrel=1
|
||||
@@ -21,10 +21,8 @@ sha256sums=('SKIP')
|
||||
build() {
|
||||
cd "opencode-${pkgver}"
|
||||
bun install
|
||||
cd packages/tui
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w -X main.Version=${pkgver}" -o tui cmd/opencode/main.go
|
||||
cd ../opencode
|
||||
bun build --define OPENCODE_TUI_PATH="'$(realpath ../tui/tui)'" --define OPENCODE_VERSION="'${pkgver}'" --compile --target=bun-linux-x64 --outfile=opencode ./src/index.ts
|
||||
cd ./packages/opencode
|
||||
OPENCODE_CHANNEL=latest OPENCODE_VERSION=1.0.14 bun run ./script/build.ts --single
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in New Issue
Block a user