Wire process identity cancellation and shared HTTP server lifecycle

This commit is contained in:
2026-11-20 04:55:27 +00:00
parent 41dc1f5517
commit 7b570ed49d
12 changed files with 380 additions and 11 deletions

View File

@@ -92,7 +92,8 @@ host_os=$(go env GOHOSTOS)
host_arch=$(go env GOHOSTARCH)
GOOS="$host_os" GOARCH="$host_arch" CGO_ENABLED=1 go test -race ./...
for arch in amd64 arm64; do
GOOS=linux GOARCH="$arch" CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' \
GOOS=linux GOARCH="$arch" CGO_ENABLED=0 go build -trimpath \
-ldflags "-s -w -X main.version=$version -X main.revision=$candidate" \
-o "$release_tmp/scriptorium-$version-linux-$arch" ./cmd/scriptorium
done