Skip to content

Commit

Permalink
feat(ibazel): auto run gazelle when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gfanton committed Nov 7, 2019
1 parent 65d9111 commit 969478d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions go/.bazel_fix_commands.json
@@ -0,0 +1,5 @@
[{
"regex": "^No dependencies were provided.",
"command": "bazel",
"args": ["run", "//:gazelle"]
}]
2 changes: 1 addition & 1 deletion go/Makefile
Expand Up @@ -8,7 +8,7 @@ BAZEL_CMD_ARGS ?=
GO ?= go
GO_TEST_OPTS ?= -test.timeout=20s
GOPATH ?= $(HOME)/go
IBAZEL ?= ibazel
IBAZEL ?= ibazel --run_output_interactive=false --run_output
USE_IBAZEL ?= false
BAZEL_WRAPPER ?= $(BAZEL)

Expand Down
2 changes: 1 addition & 1 deletion go/gen.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 969478d

Please sign in to comment.