From c0885f9cbae938eb61ece7e787561f23f6c41444 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 4 May 2018 04:27:43 -0400 Subject: [PATCH] add gofmt check to `make test` --- .travis.gofmt.sh => .check-gofmt.sh | 0 .travis.yml | 2 +- Makefile | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) rename .travis.gofmt.sh => .check-gofmt.sh (100%) mode change 100644 => 100755 diff --git a/.travis.gofmt.sh b/.check-gofmt.sh old mode 100644 new mode 100755 similarity index 100% rename from .travis.gofmt.sh rename to .check-gofmt.sh diff --git a/.travis.yml b/.travis.yml index 9a913bb0..d6064b55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ script: - tar -xzf goreleaser_Linux_x86_64.tar.gz -C $GOPATH/bin - make - make test -- bash ./.travis.gofmt.sh +- ./.check-gofmt.sh diff --git a/Makefile b/Makefile index 5fe1c917..572cd3a6 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,4 @@ test: cd irc/isupport && go test . && go vet . cd irc/modes && go test . && go vet . cd irc/utils && go test . && go vet . + ./.check-gofmt.sh