Compiled for linux amd64

This commit is contained in:
2024-05-20 18:43:55 +02:00
parent 5bbad6bf29
commit fe2962b1f7
3 changed files with 6 additions and 0 deletions

View File

@@ -9,6 +9,12 @@ build:
go mod vendor; \
CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o motd cmd/motdGO/main.go
build-linux:
export GO11MODULE="auto" \
go mod download; \
go mod vendor; \
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o motd-linux cmd/motdGO/main.go
install:
export GO11MODULE="on"; \
go mod tidy; \

BIN
motd

Binary file not shown.

BIN
motd-linux Executable file

Binary file not shown.