diff options
author | Arun Isaac | 2021-08-17 16:00:23 +0530 |
---|---|---|
committer | Arun Isaac | 2021-08-17 16:00:23 +0530 |
commit | 22977baf000ff18941eb78dcc300d115667e5ec8 (patch) | |
tree | 60c3847db226df694d9af77c91b11481d6acd589 /doc/capture-output-file-with-parameter-reference.scm | |
parent | 99b11c99393e2d5e52347c456c4370f842c0fb49 (diff) | |
download | ccwl-22977baf000ff18941eb78dcc300d115667e5ec8.tar.gz ccwl-22977baf000ff18941eb78dcc300d115667e5ec8.tar.lz ccwl-22977baf000ff18941eb78dcc300d115667e5ec8.zip |
ccwl: Define output objects using a macro instead of a function.
This allows us to do sophisticated syntax checking at an early stage,
very close to the user interface. That way error messages from ccwl
will make a lot more sense.
* ccwl/ccwl.scm (output): Re-implement as macro.
(command): Use the new macro interface.
* doc/capture-output-file-with-parameter-reference.scm,
doc/capture-output-file.scm, doc/capture-stdout.scm, doc/checksum.scm,
doc/decompress-compile-run.scm: Use new quoting syntax for output
types.
Diffstat (limited to 'doc/capture-output-file-with-parameter-reference.scm')
-rw-r--r-- | doc/capture-output-file-with-parameter-reference.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/capture-output-file-with-parameter-reference.scm b/doc/capture-output-file-with-parameter-reference.scm index 88d17ad..fb32fc8 100644 --- a/doc/capture-output-file-with-parameter-reference.scm +++ b/doc/capture-output-file-with-parameter-reference.scm @@ -2,7 +2,7 @@ (command #:inputs (archive #:type File) (extractfile #:type string) #:run "tar" "--extract" "--file" archive extractfile #:outputs (extracted-file - #:type 'File + #:type File #:binding '((glob . "$(inputs.extractfile)"))))) (workflow ((archive #:type File) (extractfile #:type string)) |