Commit Graph

9 Commits

Author SHA1 Message Date
justinsb b43afba89a Replace bazel :gofmt target with direct invocation
The rule to run from the workspace is broken by the .bazel-bin change,
but bazel now supports direct invocation.
2021-10-26 08:04:08 -04:00
justinsb 05ae9aa5b4 Use .bazel-bin to help gopls & VSCode
This means that gopls will ignore the bazel-* symlinks, in particular
when using the go LSP plugin (gopls) with VSCode.

Idea from https://bitworking.org/news/2021/06/bazel-and-gopls/
2021-10-26 08:04:06 -04:00
Justin SB 1943a3401d
Introduce go modules
This is the automatic translation from Gopkg that go.mod does.
2019-08-25 14:49:06 -04:00
Justin SB bf4c4a1a95
Source gofmt from bazel go
Using the approach from k8s.io/repo-infra.  This avoids problems where
we are testing with a different version of go than we are building
with.
2019-04-21 16:41:11 -04:00
mikesplain 1680c3a663 Update BUILD file 2019-03-15 12:30:59 -04:00
Mike Splain a35b0c48df Update rules go and gazelle 2018-09-17 09:56:47 -04:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 30acda868a updating to bazel 0.0.7 and adding verify scripts 2017-11-04 20:59:01 -06:00
Justin Santa Barbara 87b6ba6b19 Initial bazel support 2017-10-02 14:27:20 -04:00