Browse Source

add gofmt check to `make test`

tags/v0.12.0
Shivaram Lingamneni 6 years ago
parent
commit
c0885f9cba
3 changed files with 2 additions and 1 deletions
  1. 0
    0
      .check-gofmt.sh
  2. 1
    1
      .travis.yml
  3. 1
    0
      Makefile

.travis.gofmt.sh → .check-gofmt.sh View File


+ 1
- 1
.travis.yml View File

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

+ 1
- 0
Makefile View File

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

Loading…
Cancel
Save