forked from mirrors/statsd_exporter
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
parent
fae515f739
commit
bfdf4ddee0
1 changed files with 5 additions and 2 deletions
|
@ -238,8 +238,11 @@ endif
|
|||
|
||||
.PHONY: common-build
|
||||
common-build: promu
|
||||
@echo ">> building binaries"
|
||||
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
|
||||
@bash -c "trap 'echo \">> restoring assets\"; scripts/compress_assets.sh -d;' EXIT; \
|
||||
echo '>> compressing assets'; \
|
||||
scripts/compress_assets.sh; \
|
||||
echo '>> building binaries'; \
|
||||
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)"
|
||||
|
||||
.PHONY: common-tarball
|
||||
common-tarball: promu
|
||||
|
|
Loading…
Reference in a new issue