Dima %!s(int64=2) %!d(string=hai) anos
pai
achega
e812b23a6b
Modificáronse 3 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Makefile
  2. BIN=BIN
      build/app/app
  3. BIN=BIN
      build/app/darwin_amd64

+ 1 - 2
Makefile

@@ -18,8 +18,7 @@ run:
 	cd cmd/app && go run main.go
 
 app-build:
-	env GOOS=linux GOARCH=amd64 go build -o build/app/linux_amd64 cmd/app/main.go
-	env GOOS=darwin GOARCH=amd64 go build -o build/app/darwin_amd64 cmd/app/main.go
+	env GOOS=linux GOARCH=amd64 go build -o build/app/app cmd/app/main.go
 
 lint:
 	golangci-lint run --timeout=3m

BIN=BIN
build/app/linux_amd64 → build/app/app


BIN=BIN
build/app/darwin_amd64