Skip to content

Commit

Permalink
feat: being able to build pact_verifier_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
opicaud committed May 8, 2023
1 parent 93d658f commit 467a442
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rust/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ filegroup(
"@pact_verifier_cli"
],
)

filegroup(
name = "pact_verifier_cli",
srcs = ["//pact_verifier_cli"],
visibility = ["//visibility:public"],

)

11 changes: 11 additions & 0 deletions rust/pact_verifier_cli/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],

)

0 comments on commit 467a442

Please sign in to comment.