We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f774e70 commit af2fa8aCopy full SHA for af2fa8a
Makefile
@@ -70,9 +70,12 @@ env:
70
init: ## Install linters
71
cd tools && go generate -x -tags=tools
72
73
-build: ## Compile using plain go build
+build: ## Build exporter binary using plain go build.
74
go build -ldflags="$(GO_BUILD_LDFLAGS)" -o $(PMM_RELEASE_PATH)/mongodb_exporter
75
76
+build-gssapi: ## Build exporter binary with GSSAPI support (requires CGO enabled).
77
+ CGO_ENABLED=1 go build -ldflags="$(GO_BUILD_LDFLAGS)" -tags gssapi -o $(PMM_RELEASE_PATH)/mongodb_exporter
78
+
79
release: ## Build the binaries using goreleaser
80
docker run --rm --privileged \
81
-v ${PWD}:/go/src/github.com/user/repo \
0 commit comments