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
|
.PHONY: common-build
|
||||||
common-build: promu
|
common-build: promu
|
||||||
@echo ">> building binaries"
|
@bash -c "trap 'echo \">> restoring assets\"; scripts/compress_assets.sh -d;' EXIT; \
|
||||||
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
|
echo '>> compressing assets'; \
|
||||||
|
scripts/compress_assets.sh; \
|
||||||
|
echo '>> building binaries'; \
|
||||||
|
GO111MODULE=$(GO111MODULE) $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)"
|
||||||
|
|
||||||
.PHONY: common-tarball
|
.PHONY: common-tarball
|
||||||
common-tarball: promu
|
common-tarball: promu
|
||||||
|
|
Loading…
Reference in a new issue