chore: make sure .exe is on windows builds (#500)

* chore: make sure .exe is on windows builds

* chore: make sure .exe is on windows builds
This commit is contained in:
Jeffrey Smith II
2023-04-20 12:59:47 -04:00
committed by GitHub
parent b7eacf9ba9
commit a187815d88
2 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ fmt: $(FMT_FILES)
go run github.com/daixiang0/gci -w $^
bin/$(GOOS)/$(GOARCH)/influx: $(SOURCES)
CGO_ENABLED=0 $(GO_BUILD) -o $@ ./cmd/$(shell basename "$@")
CGO_ENABLED=0 $(GO_BUILD) -o bin/$(GOOS)/$(GOARCH)/ ./cmd/$(shell basename "$@")
.DEFAULT_GOAL := influx
influx: bin/$(GOOS)/$(GOARCH)/influx