rules_jsonnet icon indicating copy to clipboard operation
rules_jsonnet copied to clipboard

Add to imports bin_dir so generated files can be propertly handled

Open tomaszstrejczek opened this issue 4 years ago • 2 comments

Current implementation doesn't handle libraries which are generated via different rules (for example genrule) because files generated this way are stored in ctx.bin_dir directory which is not added as an import location. The PR adds to import ctx.bin_dir.

tomaszstrejczek avatar Dec 30 '19 10:12 tomaszstrejczek

@tomaszstrejczek thanks for the contribution - can you please add a test that verifies this behaviour?

Globegitter avatar Jan 09 '20 10:01 Globegitter

I'm not sure this is still relevant? It is very old.

sparkprime avatar Apr 28 '22 16:04 sparkprime