Files
avo/script/bootstrap
2019-01-13 11:40:47 -08:00

23 lines
661 B
Bash
Executable File

#!/bin/bash -ex
# Limit dependencies to golang.org/x repos
go get -u \
golang.org/x/arch/x86/... \
golang.org/x/tools/go/...
# Standalone version of the asmdecl analysis tool.
go install ./internal/cmd/asmdecl
# Install golangci-lint
golangci_lint_version='v1.12.3'
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
# embedmd required for documentation generation
go get -u github.com/campoy/embedmd
# covertool for merging coverage reports
go get -u github.com/dlespiau/covertool
# asmfmt for enforcing assembly style
go get -u github.com/klauspost/asmfmt/cmd/asmfmt