Files
avo/script/bootstrap

27 lines
810 B
Plaintext
Raw Normal View History

2018-12-05 00:27:42 -08:00
#!/bin/bash -ex
# Install dependencies.
go mod download
2018-12-05 00:53:16 -08:00
# 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}
# Use gobin for tools install.
GO111MODULE=off go get -u github.com/myitcv/gobin
# embedmd required for documentation generation
gobin github.com/campoy/embedmd@v1.0.0
2019-01-02 20:41:59 -08:00
# covertool for merging coverage reports
gobin github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a
# asmfmt for enforcing assembly style
gobin github.com/klauspost/asmfmt/cmd/asmfmt@v1.2.1
# gofumports for stricter formatting
gobin mvdan.cc/gofumpt/gofumports@v0.0.0-20200412215918-a91da47f375c