|
|
@ -141,15 +141,20 @@ function proto_tools_install {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function lint_install {
|
|
|
|
function lint_install {
|
|
|
|
|
|
|
|
local lint_consul_retry_version
|
|
|
|
|
|
|
|
lint_consul_retry_version="$(make --no-print-directory print-LINT_CONSUL_RETRY_VERSION)"
|
|
|
|
|
|
|
|
|
|
|
|
local golangci_lint_version
|
|
|
|
local golangci_lint_version
|
|
|
|
golangci_lint_version="$(make --no-print-directory print-GOLANGCI_LINT_VERSION)"
|
|
|
|
golangci_lint_version="$(make --no-print-directory print-GOLANGCI_LINT_VERSION)"
|
|
|
|
|
|
|
|
|
|
|
|
local gci_version
|
|
|
|
local gci_version
|
|
|
|
gci_version="$(make --no-print-directory print-GCI_VERSION)"
|
|
|
|
gci_version="$(make --no-print-directory print-GCI_VERSION)"
|
|
|
|
|
|
|
|
|
|
|
|
install_unversioned_tool \
|
|
|
|
install_versioned_tool \
|
|
|
|
'lint-consul-retry' \
|
|
|
|
'lint-consul-retry' \
|
|
|
|
'github.com/hashicorp/lint-consul-retry@master'
|
|
|
|
'github.com/hashicorp/lint-consul-retry' \
|
|
|
|
|
|
|
|
"${lint_consul_retry_version}" \
|
|
|
|
|
|
|
|
'github.com/hashicorp/lint-consul-retry'
|
|
|
|
|
|
|
|
|
|
|
|
install_unversioned_tool \
|
|
|
|
install_unversioned_tool \
|
|
|
|
'enumcover' \
|
|
|
|
'enumcover' \
|
|
|
|