sandboxed-api/oss-internship-2020/jsonnet/examples/jsonnet_codes/multiple_files_example.jsonnet
Katarzyna Miernikiewicz ac3149102f example reorganization
2020-09-10 11:06:31 +00:00

12 lines
465 B
Plaintext

// This is a jsonnet code which evaluates to mutliple output files.
{
"first_file.json": {
name: 'This is the first file created by the multiple-files example code.',
caption: 'The other one\'s name is -> ' + $["second_file.json"].name,
},
"second_file.json": {
name: 'And that is the other one.',
caption: 'If it was the first one, variable name would hold what\'s in <first_name> variable.',
first_name: $["first_file.json"].name,
},
}