mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
add gofmt check to make test
This commit is contained in:
parent
f6373f7a4d
commit
c0885f9cba
3 changed files with 2 additions and 1 deletions
0
.travis.gofmt.sh → .check-gofmt.sh
Normal file → Executable file
0
.travis.gofmt.sh → .check-gofmt.sh
Normal file → Executable 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
|
||||||
|
|
|
||||||
1
Makefile
1
Makefile
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue