go/internal/lsp/command
Rob Findley fd2f9f3bd1 internal/lsp/command: use a build tag to avoid broken generation
Modifying command.Interface can prevent re-generation by breaking the
build (because command_gen.go is no longer valid). Fix this by using a
build tag to only consider the interface during generation.

Change-Id: I025879897b0d1d98148654201a54539868e9f578
Reviewed-on: https://go-review.googlesource.com/c/tools/+/289691
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2021-02-09 22:06:54 +00:00
..
commandmeta internal/lsp/command: rename commands to align with current naming 2021-02-09 22:06:46 +00:00
generate internal/lsp/command: use a build tag to avoid broken generation 2021-02-09 22:06:54 +00:00
command_gen.go internal/lsp/command: use a build tag to avoid broken generation 2021-02-09 22:06:54 +00:00
generate.go internal/lsp/command: add an interface for workspace/executeCommand 2021-02-09 22:05:15 +00:00
interface.go internal/lsp/command: use a build tag to avoid broken generation 2021-02-09 22:06:54 +00:00
interface_test.go internal/lsp/command: add an interface for workspace/executeCommand 2021-02-09 22:05:15 +00:00
util.go internal/lsp/command: add an interface for workspace/executeCommand 2021-02-09 22:05:15 +00:00