diff --git a/Makefile b/Makefile index 459183c..0c50760 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,10 @@ COVER_PROFILE = $(REPORT_DIR)/coverage.out .PHONY: build build: - CGO_ENABLED=0 go build $(LDFLAGS) -installsuffix cgo -o dist/db-backup cmd/db-backup/main.go + CGO_ENABLED=0 go build $(LDFLAGS) -installsuffix cgo -o dist/db-backup main.go build-for-container: - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build $(LDFLAGS) -a -installsuffix cgo -o dist/db-backup-linux cmd/db-backup/main.go + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build $(LDFLAGS) -a -installsuffix cgo -o dist/db-backup-linux main.go .PHONY: lint lint: