Skip to content

Commit

Permalink
Force gazelle to use third_party gazelle dep (#68)
Browse files Browse the repository at this point in the history
#61 attempted
to do this, but running gazelle undoes it - instead, tell gazelle to
keep preserving this property.
  • Loading branch information
illicitonion authored Jun 20, 2023
1 parent 20243af commit dc381f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
load("@bazel_gazelle//:def.bzl", "gazelle")

# gazelle:resolve go github.com/bazelbuild/bazel-gazelle/label @com_github_bazelbuild_bazel_gazelle//label

# gazelle:prefix github.com/bazel-contrib/target-determinator
gazelle(
name = "gazelle",
Expand Down
2 changes: 2 additions & 0 deletions scripts/format
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ echo "importsort" >&2
find $(pwd) -type f -name '*.go' |
grep -v ".pb.go" |
xargs bazel run --noshow_progress --ui_event_filters= @com_github_aristanetworks_goarista//cmd/importsort -- -w -s NOT_SPECIFIED

bazel run //:gazelle

0 comments on commit dc381f5

Please sign in to comment.