diff --git a/.travis.yml b/.travis.yml index 641c718..c9a449c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ before_script: - curl -sfL https://raw.githubusercontent.com/knqyf263/cob/master/install.sh | sudo sh -s -- -b /usr/local/bin script: - - diff -u <(echo -n) <(gofmt -d ./) - make - cob -bench-cmd make -bench-args bench diff --git a/Makefile b/Makefile index 393998e..21e1e9e 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ VERSION := $(shell git describe --tags 2>/dev/null) LDFLAGS = -X main.version=$(VERSION) build: + rm -rf bindata + test -z $(shell gofmt -l ./) go get -u github.com/shuLhan/go-bindata/... $$GOPATH/bin/go-bindata -pkg bindata -o bindata/bindata.go etc/* GO111MODULE=on go get ./...