Closed thomasquinn closed 1 month ago
Thanks! Could you please add a test case for this under examples/
?
Thanks! Could you please add a test case for this under
examples/
?
Let me know if there's a better way to test this than what I've come up with. This test does pass after the change to jsonnet/jsonnet.bzl
and fail without it, at least.
This PR restores the default outputs of the
jsonnet_to_json
rule.PR #192 seems to have broken the default outputs of this rule, which previously relied on only setting
ctx.outputs
and not returning aDefaultInfo
provider (unlessout_dir
is set).This is useful when you have some target that only has one output e.g.:
Before #192 you could depend on this as
:foo
, but after #192 you need to depend on:foo.json
to access the singular output.