Skip to content

Commit

Permalink
fix: use macos cli instead of linux pact_verifier cli
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed Sep 28, 2023
1 parent 18699af commit c867cb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rust/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ filegroup(

pact_reference_toolchain(
name = "toolchain_impl",
pact_verifier_cli = ":pact_verifier_cli_archive",
pact_verifier_cli = ":pact_verifier_cli_toolchain",
)

genrule(
name = "pact_verifier_cli_archive",
name = "pact_verifier_cli_toolchain",
outs = ["pact_verifier_cli_bin"],
srcs = ["@pact_verifier_cli_archive//file"],
cmd = "gzip -d - < $< > $@",
Expand Down
4 changes: 2 additions & 2 deletions rust/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def repos():
maybe(
http_file,
name = "pact_verifier_cli_archive",
sha256 = "57c8ae7c95f46e4a48d3d6a251853dd5dd58917e866266ced665fc48a3fdecdd",
urls = ["https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v1.0.1/pact_verifier_cli-linux-x86_64.gz"],
sha256 = "77ffc38f4564cfef42f64b9eb33bebfc4d787e65ef7ff7213640a3d63d2cf5a7",
urls = ["https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v1.0.1/pact_verifier_cli-osx-x86_64.gz"],
)

0 comments on commit c867cb9

Please sign in to comment.