mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-25 00:31:00 +00:00
Move bench
target out of common Makefile
we should not change the vendored Makefile.common here. Signed-off-by: Matthias Rampke <mr@soundcloud.com>
This commit is contained in:
parent
e5734e34e9
commit
4e53440316
2 changed files with 7 additions and 5 deletions
7
Makefile
7
Makefile
|
@ -17,3 +17,10 @@ STATICCHECK_IGNORE = \
|
|||
github.com/prometheus/statsd_exporter/main.go:SA1019 \
|
||||
|
||||
DOCKER_IMAGE_NAME ?= statsd-exporter
|
||||
|
||||
.PHONY: bench
|
||||
bench:
|
||||
@echo ">> running all benchmarks"
|
||||
$(GO) test -bench . -race $(pkgs)
|
||||
|
||||
all: bench
|
||||
|
|
|
@ -66,11 +66,6 @@ test:
|
|||
@echo ">> running all tests"
|
||||
$(GO) test -race $(pkgs)
|
||||
|
||||
.PHONY: bench
|
||||
bench:
|
||||
@echo ">> running all benchmarks"
|
||||
$(GO) test -bench . -race $(pkgs)
|
||||
|
||||
.PHONY: format
|
||||
format:
|
||||
@echo ">> formatting code"
|
||||
|
|
Loading…
Reference in a new issue