Skip to content

Commit

Permalink
fix: Revert "refactor: remove source_protobuf"
Browse files Browse the repository at this point in the history
This reverts commit c243885.
  • Loading branch information
opicaud committed May 15, 2023
1 parent 746f56c commit 3a2949e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ def deps():
def load_crat():
crates_repository(
name = "crate_index_protobuf",
cargo_lockfile = "@//:Cargo.lock",
cargo_lockfile = "@source_protobuf//:Cargo.lock",
generator = "@cargo_bazel_bootstrap//:cargo-bazel",
lockfile = "@//:cargo-bazel-lock.json",
lockfile = "@source_protobuf//:cargo-bazel-lock.json",
manifests = [
"@//:Cargo.toml"
"@source_protobuf//:Cargo.toml"
]
)
8 changes: 8 additions & 0 deletions repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ def repos():
sha256 = "d125fb75432dc3b20e9b5a19347b45ec607fabe75f98c6c4ba9badaab9c193ce",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.17.0/rules_rust-v0.17.0.tar.gz"],
)

maybe(
git_repository,
name = "source_protobuf",
remote = "https://github.com/opicaud/pact-protobuf-plugin",
commit = "a58c4a192c7a134001e8ad72f57bf1608150f0a1",
shallow_since = "1683395140 +0200"
)

0 comments on commit 3a2949e

Please sign in to comment.