-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an 'out_dir' option to jsonnet_to_json() (#184)
If jsonnet_to_json() yields a large number of output files, or yields a set of paths that is not known up front, it would be preferable to store these in a directory artifact (i.e., created using ctx.actions.declare_directory()). This change adds a new 'out_dir' option that causes the interpreter to be invoked with the -m flag. The -m flag will point to a single directory.
- Loading branch information
1 parent
9ccf9bd
commit 9f89452
Showing
4 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
'hello.txt': 'Hello, Bazel!', | ||
'goodbye.txt': 'Goodbye, Bazel!', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters