Skip to content

Commit

Permalink
feat: adds a custom command to rebuild deps
Browse files Browse the repository at this point in the history
For some reason does not work (yet). Working on it.
  • Loading branch information
filmil committed Dec 17, 2023
1 parent b6d744f commit 7ad940d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ buildifier(
name = "buildifier",
)

# bazel run //:gazelle-update-repos
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=deps.bzl%go_dependencies",
"-prune",
],
command = "update-repos",
)

sh_binary(
name = "index",
srcs = [ "run_zoekt_index.sh" ],
Expand Down

0 comments on commit 7ad940d

Please sign in to comment.