Dima il y a 1 an
Parent
commit
a6e9a6b909
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Makefile
  2. 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
build/app/app