зеркало из https://github.com/golang/pkgsite.git
all.bash: add mvdan.cc/unparam
Change-Id: Ie0090704380ffb3d7de0387c7d468d2922d82ee6 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/701078 Reviewed-by: Jonathan Amsterdam <jba@google.com>
This commit is contained in:
Родитель
7796a18097
Коммит
d55ca17b72
6
all.bash
6
all.bash
|
@ -83,6 +83,12 @@ check_bad_migrations() {
|
|||
done
|
||||
}
|
||||
|
||||
# check_unparam runs unparam on source files.
|
||||
check_unparam() {
|
||||
ensure_go_binary mvdan.cc/unparam
|
||||
runcmd unparam ./...
|
||||
}
|
||||
|
||||
# check_staticcheck runs staticcheck on source files.
|
||||
check_staticcheck() {
|
||||
ensure_go_binary honnef.co/go/tools/cmd/staticcheck
|
||||
|
|
Загрузка…
Ссылка в новой задаче