Files
avo/script/bootstrap
Michael McLoughlin 7a22924b14 lint: ensure conformity with asmfmt
Run asmfmt suring linting and confirm git repository isn't dirty.
This introduces a developer tools dependency on asmfmt, but not a
runtime dependency.

Updates #8
2019-01-10 21:31:04 -08:00

20 lines
564 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/...
# 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