3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

add gofmt check to make test

This commit is contained in:
Shivaram Lingamneni 2018-05-04 04:27:43 -04:00
parent f6373f7a4d
commit c0885f9cba
3 changed files with 2 additions and 1 deletions

0
.travis.gofmt.sh → .check-gofmt.sh Normal file → Executable file
View File

View File

@ -7,4 +7,4 @@ script:
- tar -xzf goreleaser_Linux_x86_64.tar.gz -C $GOPATH/bin - tar -xzf goreleaser_Linux_x86_64.tar.gz -C $GOPATH/bin
- make - make
- make test - make test
- bash ./.travis.gofmt.sh - ./.check-gofmt.sh

View File

@ -16,3 +16,4 @@ test:
cd irc/isupport && go test . && go vet . cd irc/isupport && go test . && go vet .
cd irc/modes && go test . && go vet . cd irc/modes && go test . && go vet .
cd irc/utils && go test . && go vet . cd irc/utils && go test . && go vet .
./.check-gofmt.sh