-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script: switch to go install for tools (#210)
- Loading branch information
1 parent
9c70781
commit c48d61f
Showing
3 changed files
with
8 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,14 @@ golangci_lint_version='v1.23.6' | |
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh" | ||
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}" | ||
|
||
# Install tools. | ||
tools=( | ||
# embedmd required for documentation generation | ||
github.com/campoy/embedmd | ||
# embedmd required for documentation generation | ||
go install github.com/campoy/[email protected] | ||
|
||
# covertool for merging coverage reports | ||
github.com/dlespiau/covertool | ||
# covertool for merging coverage reports | ||
go install github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a | ||
|
||
# asmfmt for enforcing assembly style | ||
github.com/klauspost/asmfmt/cmd/asmfmt | ||
# asmfmt for enforcing assembly style | ||
go install github.com/klauspost/asmfmt/cmd/asmfmt@v1.3.1 | ||
|
||
# gofumports for stricter formatting | ||
mvdan.cc/gofumpt/gofumports | ||
) | ||
|
||
go install -modfile=script/tools.mod "${tools[@]}" | ||
# gofumports for stricter formatting | ||
go install mvdan.cc/gofumpt/[email protected] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.