You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Upgrade all dependencies
We now no longer need a nightly version of the Rust toolchain to build
jrsonnet. The latest stable version works perfectly fine. However, we do
still need a nightly version of the host tools to make bindeps work.
Because we now also set the host tools repo name properly, we no longer
need to juggle with Rust in examples/MODULE.bazel.
Fixes: #224#225#226#228#229#230#234#235#236#237#238
* Add a workaround for aspect_bazel_lib not wrapping platform labels
* Make import paths in jsonnet_to_json_test() work with modern Bazel
Modern Bazel no longer includes files in the runfiles directory using
the long path layout. We now only need to use short paths.
Unfortunately, Bazel lacks some proper APIs for generating those in
pieces, so we need to do some string substitution.
Copy file name to clipboardExpand all lines: docs/jsonnet.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ Example:
191
191
| <aid="jsonnet_to_json-deps"></a>deps | List of targets that are required by the `srcs` Jsonnet files. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
192
192
| <aid="jsonnet_to_json-src"></a>src | The `.jsonnet` file to convert to JSON. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
| <aid="jsonnet_to_json-outs"></a>outs | Names of the output `.json` files to be generated by this rule.<br><br>If you are generating only a single JSON file and are not using jsonnet multiple output files, then this attribute should only contain the file name of the JSON file you are generating.<br><br>If you are generating multiple JSON files using jsonnet multiple file output (`jsonnet -m`), then list the file names of all the JSON files to be generated. The file names specified here must match the file names specified in your `src` Jsonnet file.<br><br>For the case where multiple file output is used but only for generating one output file, set the `multiple_outputs` attribute to 1 to explicitly enable the `-m` flag for multiple file output.<br><br>This attribute is incompatible with `out_dir`. | List of labels | optional |`[]`|
194
+
| <aid="jsonnet_to_json-outs"></a>outs | Names of the output `.json` files to be generated by this rule.<br><br>If you are generating only a single JSON file and are not using jsonnet multiple output files, then this attribute should only contain the file name of the JSON file you are generating.<br><br>If you are generating multiple JSON files using jsonnet multiple file output (`jsonnet -m`), then list the file names of all the JSON files to be generated. The file names specified here must match the file names specified in your `src` Jsonnet file.<br><br>For the case where multiple file output is used but only for generating one output file, set the `multiple_outputs` attribute to 1 to explicitly enable the `-m` flag for multiple file output.<br><br>This attribute is incompatible with `out_dir`. | List of labels; <ahref="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a>| optional |`[]`|
0 commit comments