diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-02 13:42:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-02 13:42:49 +0900 |
| commit | c5089cad7883d0157ca5339ed6e43fb18ad2c838 (patch) | |
| tree | 6170e08ba1541d62b7ceee22f3c0a48ec4b0a7de /dist/release.sh | |
| parent | c83905f31194541892e99d5a57b7b974b6a601d2 (diff) | |
cmd: remove hpkg
This proof-of-concept was abandoned long ago. Its test suite is flaky, heavy on I/O and does not increase test coverage. This change fully removes hpkg and supporting code.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dist/release.sh')
| -rwxr-xr-x | dist/release.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/release.sh b/dist/release.sh index 2990ee18..1497a8f2 100755 --- a/dist/release.sh +++ b/dist/release.sh @@ -13,7 +13,7 @@ echo echo '# Building hakurei.' go generate ./... go build -trimpath -v -o "${out}/bin/" -ldflags "-s -w - -buildid= -extldflags '-static' + -buildid= -linkmode external -extldflags=-static -X hakurei.app/internal/info.buildVersion=${VERSION} -X hakurei.app/internal/info.hakureiPath=/usr/bin/hakurei -X hakurei.app/internal/info.hsuPath=/usr/bin/hsu @@ -21,7 +21,7 @@ go build -trimpath -v -o "${out}/bin/" -ldflags "-s -w echo echo '# Testing hakurei.' -go test -ldflags='-buildid= -extldflags=-static' ./... +go test -ldflags='-buildid= -linkmode external -extldflags=-static' ./... echo echo '# Creating distribution.' |
