From 5493cf644f2fadaeecf8162f9cf2b1ac2a7b6c51 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 22 May 2017 14:31:23 +0200 Subject: [PATCH] Ensure to generate --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 23c0344..03c11f8 100644 --- a/Makefile +++ b/Makefile @@ -34,10 +34,10 @@ generate: generate-dev: GOPATH=$(GOPATH) $(CURDIR)/vendor/bin/go-bindata -dev -prefix "client/static/" -pkg client -o client/bindata.go client/static/...; fi -binary: +binary: generate GOPATH=$(GOPATH) go build -o bin/realtimetrafficd realtimetrafficd/*.go -build: goget generate binary +build: goget binary format: find $(FOLDERS) \( -name "*.go" ! -name "bindata.go" \) -print0 | xargs -0 -n 1 go fmt