@@ -93,16 +93,16 @@ Usage: bazel-diff generate-hashes [-hkvV] [--[no-]useCquery] [-b=<bazelPath>]
93
93
[-so=<bazelStartupOptions>]... <outputPath>
94
94
Writes to a file the SHA256 hashes for each Bazel Target in the provided
95
95
workspace.
96
- <outputPath> The filepath to write the resulting JSON to.
96
+ <outputPath> The filepath to write the resulting JSON to.
97
97
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.
100
100
Example:
101
101
{
102
102
"//cli:bazel-diff_deploy.jar": "4ae310f8ad2bc728934e3509b6102ca658e828b9cd668f79990e95c6663f9633"
103
103
...
104
104
}
105
-
105
+
106
106
If --includeTargetType is specified, the JSON schema will include the target type (SourceFile/Rule/GeneratedFile)
107
107
Example:
108
108
{
@@ -114,7 +114,7 @@ workspace.
114
114
----[no-]includeTargetType
115
115
Whether include target type in the generated JSON or not.
116
116
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>"
118
118
-tt, --targetType=<targetType>
119
119
The type of targets to filter, available options are SourceFile/Rule/GeneratedFile
120
120
Only works if the JSON was generated with `--includeTargetType` enabled.
@@ -176,7 +176,7 @@ workspace.
176
176
177
177
** Note** : ` --useCquery ` flag may not work with very large repos due to limitation
178
178
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.
180
180
181
181
### What does the SHA256 value of ` generate-hashes ` represent?
182
182
@@ -207,7 +207,7 @@ Command-line utility to analyze the state of the bazel build graph
207
207
The type of targets to filter, available options are SourceFile/Rule/GeneratedFile
208
208
Only works if the JSON was generated with `--includeTargetType` enabled.
209
209
If not specified, all types of impacted targets will be returned.
210
- -v, --verbose
210
+ -v, --verbose
211
211
Display query string, missing files and elapsed time
212
212
```
213
213
@@ -223,9 +223,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar")
223
223
http_jar(
224
224
name = " bazel_diff" ,
225
225
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" ,
227
227
],
228
- sha256 = " 9c4546623a8b9444c06370165ea79a897fcb9881573b18fa5c9ee5c8ba0867e2 " ,
228
+ sha256 = " eca2d221f5c3ec9545c841ed62d319bbb59e447a1ceade563bc8f8e1b9186a34 " ,
229
229
)
230
230
```
231
231
0 commit comments