nats-exec: move out

This commit is contained in:
2026-02-21 15:59:53 +01:00
parent ef521f6a56
commit 24da672a58
4 changed files with 4 additions and 158 deletions

View File

@@ -59,13 +59,13 @@ build GOOS GOARCH:
-ldflags {{LD_FLAGS}} {{GO_OPTS}} \
-mod mod \
-o bin/{{OUTBIN}}{{SUFFIX}}_{{GOOS}}_{{GOARCH}} \
./cmd/{{OUTBIN}}/main.go
./main.go
build-race:
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -race \
-ldflags {{LD_FLAGS}} {{GO_OPTS}} \
-mod mod \
-o bin/{{OUTBIN}}{{SUFFIX}}_linux_amd64 \
./cmd/{{OUTBIN}}/main.go
./main.go
# Install binaries
install: