forked from TrueCloudLab/frostfs-node
[#680] metrics: Add step export-metrics
in Makefile
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
994f48f8bb
commit
bf082348d4
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -70,6 +70,12 @@ dep:
|
|||
CGO_ENABLED=0 \
|
||||
go mod tidy -v && echo OK
|
||||
|
||||
# Build export-metrics
|
||||
export-metrics: dep
|
||||
@printf "⇒ Build export-metrics\n"
|
||||
CGO_ENABLED=0 \
|
||||
go build -v -trimpath -o bin/export-metrics ./scripts/export-metrics
|
||||
|
||||
# Regenerate proto files:
|
||||
protoc:
|
||||
@GOPRIVATE=github.com/TrueCloudLab go mod vendor
|
||||
|
|
Loading…
Reference in a new issue