Change Makefile target order

This commit is contained in:
Fabian Reinartz 2015-11-11 15:50:19 +01:00
parent 034ab0da0c
commit 78c6784672
1 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,8 @@ ifdef DEBUG
bindata_flags = -debug
endif
all: format build test
all: assets format build test
test:
@echo ">> running tests"
@ -32,7 +33,7 @@ vet:
@echo ">> vetting code"
@$(GO) vet $(pkgs)
build: assets
build:
@echo ">> building binaries"
@./scripts/build.sh
@ -41,4 +42,5 @@ assets:
@$(GO) get -u github.com/jteeuwen/go-bindata/...
@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