2018-12-05 00:27:42 -08:00
|
|
|
#!/bin/bash -ex
|
|
|
|
|
|
2021-04-18 18:37:56 -07:00
|
|
|
# Standalone version of the assembly checks in go vet.
|
|
|
|
|
go install ./internal/cmd/asmvet
|
2019-01-13 11:40:44 -08:00
|
|
|
|
2018-12-05 00:27:42 -08:00
|
|
|
# Install golangci-lint
|
2020-04-25 01:27:57 -07:00
|
|
|
golangci_lint_version='v1.23.6'
|
2021-10-27 23:18:45 -07:00
|
|
|
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}"
|
2018-12-31 20:25:29 -08:00
|
|
|
|
2021-10-29 01:26:54 -07:00
|
|
|
# embedmd required for documentation generation
|
|
|
|
|
go install github.com/campoy/embedmd@v1.0.0
|
2021-04-10 21:10:42 -07:00
|
|
|
|
2021-10-29 01:26:54 -07:00
|
|
|
# covertool for merging coverage reports
|
|
|
|
|
go install github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a
|
2019-09-15 14:43:44 -07:00
|
|
|
|
2021-10-29 01:26:54 -07:00
|
|
|
# asmfmt for enforcing assembly style
|
|
|
|
|
go install github.com/klauspost/asmfmt/cmd/asmfmt@v1.3.1
|
2019-01-02 20:41:59 -08:00
|
|
|
|
2021-10-29 01:26:54 -07:00
|
|
|
# gofumports for stricter formatting
|
|
|
|
|
go install mvdan.cc/gofumpt/gofumports@v0.0.0-20200412215918-a91da47f375c
|