Skip to content

Commit

Permalink
script: switch to go install for tools (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin authored Oct 29, 2021
1 parent 9c70781 commit c48d61f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 74 deletions.
21 changes: 8 additions & 13 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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]
11 changes: 0 additions & 11 deletions script/tools.mod

This file was deleted.

50 changes: 0 additions & 50 deletions script/tools.sum

This file was deleted.

0 comments on commit c48d61f

Please sign in to comment.