diff options
author | Arun Isaac | 2024-09-13 03:15:16 +0100 |
---|---|---|
committer | Arun Isaac | 2024-09-13 03:26:44 +0100 |
commit | 612c4d1c7319b5d748a68c8e8226db65cb026686 (patch) | |
tree | 81941b6604df3eae10b20bcae9eb0061ce82e2f7 /pre-inst-env | |
parent | a2143a9868c6371e12f9f185b2e81b3ca36a176b (diff) | |
download | ravanan-612c4d1c7319b5d748a68c8e8226db65cb026686.tar.gz ravanan-612c4d1c7319b5d748a68c8e8226db65cb026686.tar.lz ravanan-612c4d1c7319b5d748a68c8e8226db65cb026686.zip |
command-line-tool: Support secondary files.
*
ravanan/command-line-tool.scm (resolve-inputs)[canonicalize-file-input,
match-secondary-file-pattern, check-secondary-files]: New functions.
[resolve]: Accept maybe-secondary-files argument.
Check that secondary files are provided with File type inputs.
(copy-input-files-gexp)[copy-input-files]: New function.
Copy secondary files to inputs directory.
(build-command-line-tool-script)[capture-outputs-gexp]: Pass
maybe-secondary-files argument to other-output->value.
[capture-secondary-file]: New function.
[path->value]: Call capture-secondary-file. Accept
maybe-secondary-files argument.
[stdout-output->value]: Pass maybe-secondary-files argument to
path->value.
[other-output->value]: Accept maybe-secondary-files argument and pass
it on to path->value.
Add TODO note about updating paths of staged files in inputs objects.
Diffstat (limited to 'pre-inst-env')
0 files changed, 0 insertions, 0 deletions