linux build flags

This commit is contained in:
Itsigo
2025-11-22 20:50:43 +01:00
parent f474816a80
commit ec38ccf681

View File

@@ -5,7 +5,7 @@ run:
build: build:
@templ generate @templ generate
@sqlc generate @sqlc generate
@go build -o tmp/main cmd/api/main.go @GOAMD64="v1" GOARCH="amd64" GOOS="linux" go build -ldflags="-s -w" -o tmp/main cmd/api/main.go
setup: setup:
@command -v templ >/dev/null 2>&1 || { \ @command -v templ >/dev/null 2>&1 || { \