Skip to content

Commit 209f08d

Browse files
Update readme to 5.0.1 (#204)
Should reflect latest
1 parent 2efca5f commit 209f08d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,16 @@ Usage: bazel-diff generate-hashes [-hkvV] [--[no-]useCquery] [-b=<bazelPath>]
9393
[-so=<bazelStartupOptions>]... <outputPath>
9494
Writes to a file the SHA256 hashes for each Bazel Target in the provided
9595
workspace.
96-
<outputPath> The filepath to write the resulting JSON to.
96+
<outputPath> The filepath to write the resulting JSON to.
9797
If not specified, the JSON will be written to STDOUT.
98-
99-
By default the JSON schema is a dictionary of target => SHA-256 values.
98+
99+
By default the JSON schema is a dictionary of target => SHA-256 values.
100100
Example:
101101
{
102102
"//cli:bazel-diff_deploy.jar": "4ae310f8ad2bc728934e3509b6102ca658e828b9cd668f79990e95c6663f9633"
103103
...
104104
}
105-
105+
106106
If --includeTargetType is specified, the JSON schema will include the target type (SourceFile/Rule/GeneratedFile)
107107
Example:
108108
{
@@ -114,7 +114,7 @@ workspace.
114114
----[no-]includeTargetType
115115
Whether include target type in the generated JSON or not.
116116
If false, the generate JSON schema is: {"<target>": "<sha256>"}
117-
If true, the generate JSON schema is: {"<target>": "<type>#<sha256>"
117+
If true, the generate JSON schema is: {"<target>": "<type>#<sha256>"
118118
-tt, --targetType=<targetType>
119119
The type of targets to filter, available options are SourceFile/Rule/GeneratedFile
120120
Only works if the JSON was generated with `--includeTargetType` enabled.
@@ -176,7 +176,7 @@ workspace.
176176

177177
**Note**: `--useCquery` flag may not work with very large repos due to limitation
178178
of Bazel. You may want to fallback to use normal query mode in that case.
179-
See https://github.com/bazelbuild/bazel/issues/17743 for more details.
179+
See <https://github.com/bazelbuild/bazel/issues/17743> for more details.
180180

181181
### What does the SHA256 value of `generate-hashes` represent?
182182

@@ -207,7 +207,7 @@ Command-line utility to analyze the state of the bazel build graph
207207
The type of targets to filter, available options are SourceFile/Rule/GeneratedFile
208208
Only works if the JSON was generated with `--includeTargetType` enabled.
209209
If not specified, all types of impacted targets will be returned.
210-
-v, --verbose
210+
-v, --verbose
211211
Display query string, missing files and elapsed time
212212
```
213213

@@ -223,9 +223,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar")
223223
http_jar(
224224
name = "bazel_diff",
225225
urls = [
226-
"https://github.com/Tinder/bazel-diff/releases/download/4.3.0/bazel-diff_deploy.jar",
226+
"https://github.com/Tinder/bazel-diff/releases/download/5.0.1/bazel-diff_deploy.jar",
227227
],
228-
sha256 = "9c4546623a8b9444c06370165ea79a897fcb9881573b18fa5c9ee5c8ba0867e2",
228+
sha256 = "eca2d221f5c3ec9545c841ed62d319bbb59e447a1ceade563bc8f8e1b9186a34",
229229
)
230230
```
231231

0 commit comments

Comments
 (0)