linux build flags

This commit is contained in:
Itsigo committed 2025-11-22 20:50:53 +01:00
1 parent f474816a80
commit ec38ccf681
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ run:
build:
@templ 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:
@command -v templ >/dev/null 2>&1 || { \