diff --git a/rust/BUILD.bazel b/rust/BUILD.bazel index 68cd76792..746123056 100644 --- a/rust/BUILD.bazel +++ b/rust/BUILD.bazel @@ -6,3 +6,11 @@ filegroup( "@pact_verifier_cli" ], ) + +filegroup( + name = "pact_verifier_cli", + srcs = ["//pact_verifier_cli"], + visibility = ["//visibility:public"], + +) + diff --git a/rust/pact_verifier_cli/BUILD.bazel b/rust/pact_verifier_cli/BUILD.bazel new file mode 100644 index 000000000..ece2ba067 --- /dev/null +++ b/rust/pact_verifier_cli/BUILD.bazel @@ -0,0 +1,11 @@ +load("@crate_index//:defs.bzl", "aliases", "all_crate_deps") +load("@rules_rust//cargo:defs.bzl", "cargo_build_script") +load("@rules_rust//rust:defs.bzl", "rust_binary") + +rust_binary( + name = "pact_verifier_cli", + srcs = glob(["src/*.rs"]), + deps = all_crate_deps(normal = "True") + ["//pact_verifier"], + visibility = ["//visibility:public"], + +) \ No newline at end of file