From bf082348d43819df0a0a7239ae2825e000483fe6 Mon Sep 17 00:00:00 2001 From: Anton Nikiforov Date: Thu, 5 Oct 2023 18:00:16 +0300 Subject: [PATCH] [#680] metrics: Add step `export-metrics` in Makefile Signed-off-by: Anton Nikiforov --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 60411546..7fa4e431 100755 --- a/Makefile +++ b/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