From d9baf0d321f6fee012cca8361c734f33825cef5a Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 10 Dec 2016 12:54:52 +0000 Subject: [PATCH] we need to run gofmt -w -s after go-bindata runs see https://github.com/jteeuwen/go-bindata/issues/148 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1f7130d9..dd6ca8d0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ VERSION=$(shell git describe --tags --always | sed 's/^v//') build: cd ui/web && go-bindata -pkg web admin_http_assets + find . -name '*.go' | grep -v '^\.\/vendor' | xargs gofmt -w -s go build ./cmd/carbon-relay-ng all: