Change Makefile target order

This commit is contained in:
Fabian Reinartz 2015-11-11 15:50:19 +01:00
parent 034ab0da0c
commit 78c6784672

View File

@ -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