add golang.org/x/tools dependency

This commit is contained in:
Michael McLoughlin
2018-12-17 21:13:00 -08:00
parent 34a3ddefcc
commit 1033aa4f9c
2 changed files with 5 additions and 3 deletions

View File

@@ -20,4 +20,4 @@ linters-settings:
list-type: whitelist
packages:
- github.com/mmcloughlin/avo
- golang.org/x/arch/x86
- golang.org/x/

View File

@@ -1,7 +1,9 @@
#!/bin/bash -ex
# We intend that the x86 arch sub-repo should be the only dependency.
go get -v -u golang.org/x/arch/x86/...
# 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'