tools: Added go_vet tool for go files.
This commit is contained in:
parent
0c8f85f571
commit
8c870367df
3 changed files with 10 additions and 3 deletions
|
|
@ -42,4 +42,4 @@ Extensions | Tools
|
|||
.a .so | [nm](https://linux.die.net/man/1/nm)
|
||||
.png .jpg .gif .bmp .ppm .tiff .tga | [pil](http://python-pillow.github.io/) • [pil_half](http://python-pillow.github.io/)
|
||||
.bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck)
|
||||
.go | [gofmt](https://golang.org)
|
||||
.go | [gofmt](https://golang.org) • [go_vet](https://golang.org)
|
||||
|
|
|
|||
|
|
@ -789,7 +789,7 @@ TOOLS_FOR_EXTENSIONS = \
|
|||
(["a", "so"], [nm]),
|
||||
(IMAGE_EXTENSIONS, [pil, pil_half]),
|
||||
(["bash", "sh", "dash", "ksh"], [shellcheck]),
|
||||
(["go"], [gofmt])
|
||||
(["go"], [gofmt, go_vet])
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -109,3 +109,10 @@ gofmt:
|
|||
executables: [gofmt]
|
||||
command: gofmt
|
||||
success_status: normal
|
||||
|
||||
go_vet:
|
||||
dependencies: [golang-go]
|
||||
url: golang-go
|
||||
executables: [go]
|
||||
command: go vet
|
||||
error_status: normal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue