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