mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 18:47:10 +00:00
Change Makefile target order
This commit is contained in:
parent
034ab0da0c
commit
78c6784672
8
Makefile
8
Makefile
@ -18,7 +18,8 @@ ifdef DEBUG
|
|||||||
bindata_flags = -debug
|
bindata_flags = -debug
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: format build test
|
|
||||||
|
all: assets format build test
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@echo ">> running tests"
|
@echo ">> running tests"
|
||||||
@ -32,7 +33,7 @@ vet:
|
|||||||
@echo ">> vetting code"
|
@echo ">> vetting code"
|
||||||
@$(GO) vet $(pkgs)
|
@$(GO) vet $(pkgs)
|
||||||
|
|
||||||
build: assets
|
build:
|
||||||
@echo ">> building binaries"
|
@echo ">> building binaries"
|
||||||
@./scripts/build.sh
|
@./scripts/build.sh
|
||||||
|
|
||||||
@ -41,4 +42,5 @@ assets:
|
|||||||
@$(GO) get -u github.com/jteeuwen/go-bindata/...
|
@$(GO) get -u github.com/jteeuwen/go-bindata/...
|
||||||
@go-bindata $(bindata_flags) -pkg ui -o ui/bindata.go ui/...
|
@go-bindata $(bindata_flags) -pkg ui -o ui/bindata.go ui/...
|
||||||
|
|
||||||
.PHONY: all format build test vet docker
|
|
||||||
|
.PHONY: all format build test vet assets
|
||||||
|
Loading…
Reference in New Issue
Block a user