From c5089cad7883d0157ca5339ed6e43fb18ad2c838 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 2 Mar 2026 13:42:49 +0900 Subject: 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 --- dist/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dist') 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.' -- cgit v1.3.1