Files
avo/script/bootstrap

27 lines
691 B
Plaintext
Raw Normal View History

2018-12-05 00:27:42 -08:00
#!/bin/bash -ex
# Standalone version of the asmdecl analysis tool.
go install ./internal/cmd/asmdecl
2018-12-05 00:27:42 -08:00
# Install golangci-lint
golangci_lint_version='v1.23.6'
2018-12-05 00:27:42 -08:00
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
# Install tools.
tools=(
# embedmd required for documentation generation
github.com/campoy/embedmd
# covertool for merging coverage reports
github.com/dlespiau/covertool
# asmfmt for enforcing assembly style
github.com/klauspost/asmfmt/cmd/asmfmt
2019-01-02 20:41:59 -08:00
# gofumports for stricter formatting
mvdan.cc/gofumpt/gofumports
)
go install -modfile=script/tools.mod "${tools[@]}"