Dima hai 1 ano
pai
achega
a6e9a6b909
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile
  2. BIN=BIN
      build/app/app

+ 1 - 1
Makefile

@@ -56,4 +56,4 @@ install-goose:
 	go install github.com/pressly/goose/v3/cmd/goose@latest
 
 app-build:
-	env GOOS=linux GOARCH=amd64 go build -o build/app/app cmd/app/main.go
+	env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o build/app/app cmd/app/main.go

BIN=BIN
build/app/app