Skip to content

Commit

Permalink
update mods
Browse files Browse the repository at this point in the history
  • Loading branch information
xansec committed Nov 21, 2024
1 parent 6d71a86 commit 958c44f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 30 deletions.
50 changes: 25 additions & 25 deletions MODULE.bazel.lock

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

15 changes: 10 additions & 5 deletions mayhem/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ def rules_mayhem_repositories(mayhem_url = None):
if not mayhem_url:
mayhem_url = "https://app.mayhem.security"

http_file(
maybe(
http_file,
name = "mayhem_cli_linux",
urls = [mayhem_url + "/cli/Linux/mayhem"],
executable = True,
)

http_file(
maybe(
http_file,
name = "mayhem_cli_windows",
urls = [mayhem_url + "/cli/Windows/mayhem.exe"],
executable = True,
Expand All @@ -52,21 +54,24 @@ def rules_mayhem_repositories(mayhem_url = None):
# executable = False,
# )

http_file(
maybe(
http_file,
name = "yq_cli_linux",
urls = ["https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd64"],
sha256 = "a2c097180dd884a8d50c956ee16a9cec070f30a7947cf4ebf87d5f36213e9ed7",
executable = True,
)

http_file(
maybe(
http_file,
name = "yq_cli_windows",
urls = ["https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_windows_amd64.exe"],
sha256 = "d509d51e6db30ebb7c9363b7ca8714224f93a456a421d7a7819ab564b868acc7",
executable = True,
)

http_file(
maybe(
http_file,
name = "yq_cli_osx",
urls = ["https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_darwin_amd64"],
sha256 = "216ddfa03e7ba0e5aba00b236ec78324b5bfc49b610db254fe92310878baea20",
Expand Down

0 comments on commit 958c44f

Please sign in to comment.