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
|
|
@ -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])
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -108,4 +108,11 @@ gofmt:
|
|||
url: golang-go
|
||||
executables: [gofmt]
|
||||
command: gofmt
|
||||
success_status: normal
|
||||
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