bazelbuild / buildtools

A bazel BUILD file formatter and editor
Apache License 2.0
1.01k stars 412 forks source link

Specify which version of go is needed #32

Open abergmeier opened 7 years ago

abergmeier commented 7 years ago

With Debian based systems shipping old versions of go it would be good if you could specify, which minimum or exact version of go is needed for all of this to work. Especially since there does not seem any distribution by golang itself.

E.g.

go install github.com/bazelbuild/buildifier/buildifier

does not work on my Ubuntu 16.04.1:

can't load package: package github.com/bazelbuild/buildifier/buildifier: cannot find package "github.com/bazelbuild/buildifier/buildifier" in any of:
/usr/lib/go-1.6/src/github.com/bazelbuild/buildifier/buildifier (from $GOROOT)
($GOPATH not set)
aljabrr commented 7 years ago

@abergmeier Can you please point me to some specific parts of the code base where I can look to work on this issue?