Skip to content

Commit 4e1f96e

Browse files
committed
fix: make build
1 parent 2ded354 commit 4e1f96e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ vet:
5353

5454
build:
5555
@echo ">> building binaries"
56-
go build -o mongodb-query-exporter main.go
56+
go build -o mongodb-query-exporter cmd/root.go
5757

5858
.PHONY: run
5959
run: fmt vet
60-
go run ./main.go
60+
go run ./cmd/root.go
6161

6262
.PHONY: docker-build
6363
docker-build: test ## Build docker image with the manager.

0 commit comments

Comments
 (0)