From 1033aa4f9ceb9e3bbdd8f4646ddf0cddd6715d5a Mon Sep 17 00:00:00 2001 From: Michael McLoughlin Date: Mon, 17 Dec 2018 21:13:00 -0800 Subject: [PATCH] add golang.org/x/tools dependency --- .golangci.yml | 2 +- script/bootstrap | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e1606a0..d067c69 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,4 +20,4 @@ linters-settings: list-type: whitelist packages: - github.com/mmcloughlin/avo - - golang.org/x/arch/x86 + - golang.org/x/ diff --git a/script/bootstrap b/script/bootstrap index 77cc9ca..79aaf8a 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -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'