aboutsummaryrefslogtreecommitdiff
path: root/doc/prefix-arguments.scm
diff options
context:
space:
mode:
authorArun Isaac2024-05-30 02:42:40 +0100
committerArun Isaac2024-05-30 02:42:40 +0100
commit2a5b73121ce7ce4c4bd5f3f482187dd22489e330 (patch)
treeaf89e0036102c50f2c8508e0b948a72e5a5dbe67 /doc/prefix-arguments.scm
parent40db32d3c36b4e304b9c8e39ae7f252aef5522d7 (diff)
downloadccwl-2a5b73121ce7ce4c4bd5f3f482187dd22489e330.tar.gz
ccwl-2a5b73121ce7ce4c4bd5f3f482187dd22489e330.tar.lz
ccwl-2a5b73121ce7ce4c4bd5f3f482187dd22489e330.zip
doc: Document prefixing arguments.
* doc/ccwl.skb (Cookbook)[Prefix arguments]: New section. * doc/prefix-arguments.scm: New file.
Diffstat (limited to 'doc/prefix-arguments.scm')
-rw-r--r--doc/prefix-arguments.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/prefix-arguments.scm b/doc/prefix-arguments.scm
new file mode 100644
index 0000000..ec95aeb
--- /dev/null
+++ b/doc/prefix-arguments.scm
@@ -0,0 +1,5 @@
+(command #:inputs (source #:type File) (output_filename #:type string)
+ #:run "gcc" source ("-o" output_filename)
+ #:outputs (executable
+ #:type File
+ #:binding ((glob . "$(inputs.output_filename)"))))