Skip to content

Commit

Permalink
Fix go_mod_gen hash deps
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvigee committed Nov 23, 2023
1 parent 26a4235 commit ddbdfc4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/go/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def go_mod(
},
)

godeps_deps = glob("**/*.{mod,sum}") + [src] + mod_pkg_srcs + mod_pkg_modsums
godeps_deps = [gomodsum, src] + mod_pkg_srcs + mod_pkg_modsums

if work:
p = _find_go_work()
Expand Down Expand Up @@ -224,9 +224,11 @@ def go_mod(
run = "godeps mod $SRC_CFG",
out = "/**/BUILD",
deps = {
"deps": godeps_deps,
"cfg": godeps_cfg,
},
runtime_deps = {
"deps": godeps_deps,
},
hash_deps = [imports, gomodsum],
tools = godeps,
env = {
Expand Down

0 comments on commit ddbdfc4

Please sign in to comment.