Skip to content

Commit be1ee23

Browse files
committed
Correct reference to "protobuf_dependencies"
Several of the README files referenced `protobuf_dependencies` as the workspace function to fetch GRPC dependencies. It's actually called `protobuf_repositories`.
1 parent 4951c88 commit be1ee23

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ you'd like support for.
7272

7373

7474
```python
75-
load("@org_pubref_rules_protobuf//bzl:rules.bzl", "protobuf_dependencies")
76-
protobuf_dependencies(
75+
load("@org_pubref_rules_protobuf//bzl:rules.bzl", "protobuf_repositories")
76+
protobuf_repositories(
7777
with_go = True,
7878
with_java = True,
7979
with_cpp = True,
@@ -133,8 +133,8 @@ file. For example, to load a different version of
133133
https://github.com/golang/protobuf, provide a different commit ID:
134134

135135
```
136-
load("@org_pubref_rules_protobuf//bzl:rules.bzl", "protobuf_dependencies")
137-
protobuf_dependencies(
136+
load("@org_pubref_rules_protobuf//bzl:rules.bzl", "protobuf_repositories")
137+
protobuf_repositories(
138138
with_go = True,
139139
overrides = {
140140
"com_github_golang_protobuf": {

bzl/cpp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Enable cpp support by loading the set of cpp dependencies in your workspace.
1212

1313
```python
14-
protobuf_dependencies(
14+
protobuf_repositories(
1515
with_cpp=True,
1616
)
1717
```

bzl/go/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Enable go support by loading the set of go dependencies in your workspace.
1111

1212
```python
13-
protobuf_dependencies(
13+
protobuf_repositories(
1414
with_go=True,
1515
)
1616
```

bzl/grpc_gateway/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Enable [grpc-gateway][grpc-gateway-home] support by loading the set of dependencies in your workspace.
1515

1616
```python
17-
protobuf_dependencies(
17+
protobuf_repositories(
1818
with_go=True,
1919
with_grpc_gateway=True,
2020
)

bzl/java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Enable java support by loading the set of java dependencies in your workspace.
1111

1212
```python
13-
protobuf_dependencies(
13+
protobuf_repositories(
1414
with_java=True,
1515
)
1616
```

bzl/javanano/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Enable java support by loading the set of java dependencies in your workspace.
1111

1212
```python
13-
protobuf_dependencies(
13+
protobuf_repositories(
1414
with_java=True,
1515
with_javanano=True,
1616
with_grpc=True,

0 commit comments

Comments
 (0)