You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build-goreleaser: ## Build all binaries using GoReleaser
19
+
@goreleaser -v || (code=$$?;printf"\033[0;31mError\033[0m: there was a problem with GoReleaser. Follow the docs to install it https://goreleaser.com/install\n";exit$$code)
20
+
GOPATH=$(shell go env GOPATH) goreleaser build --rm-dist --debug --snapshot
21
+
17
22
.PHONY: lint
18
23
lint:
19
24
docker run --pull always --rm -v $(shell pwd):/nginx-prometheus-exporter -w /nginx-prometheus-exporter -v $(shell go env GOCACHE):/cache/go -e GOCACHE=/cache/go -e GOLANGCI_LINT_CACHE=/cache/go -v $(shell go env GOPATH)/pkg:/go/pkg golangci/golangci-lint:latest golangci-lint --color always run
0 commit comments