summary refs log tree commit diff
path: root/pre-inst-env
diff options
context:
space:
mode:
authorArun Isaac2024-09-13 03:15:16 +0100
committerArun Isaac2024-09-13 03:26:44 +0100
commit612c4d1c7319b5d748a68c8e8226db65cb026686 (patch)
tree81941b6604df3eae10b20bcae9eb0061ce82e2f7 /pre-inst-env
parenta2143a9868c6371e12f9f185b2e81b3ca36a176b (diff)
downloadravanan-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