aboutsummaryrefslogtreecommitdiff
path: root/doc/inline-javascript-requirement.scm
diff options
context:
space:
mode:
authorArun Isaac2024-05-30 02:22:30 +0100
committerArun Isaac2024-05-30 02:22:30 +0100
commit40db32d3c36b4e304b9c8e39ae7f252aef5522d7 (patch)
treef6a12f8cfd8944a8d8382b0196bb59952b2a1c67 /doc/inline-javascript-requirement.scm
parent9bacaf6df1fa3e2b1f66441ebc197906c9dafc5c (diff)
downloadccwl-40db32d3c36b4e304b9c8e39ae7f252aef5522d7.tar.gz
ccwl-40db32d3c36b4e304b9c8e39ae7f252aef5522d7.tar.lz
ccwl-40db32d3c36b4e304b9c8e39ae7f252aef5522d7.zip
doc: Document passing in arbitrary CWL Requirements.
* doc/ccwl.skb (Cookbook)[Pass in arbitrary CWL Requirements]: New section. * doc/inline-javascript-requirement.scm, doc/resource-requirement.scm: New files.
Diffstat (limited to 'doc/inline-javascript-requirement.scm')
-rw-r--r--doc/inline-javascript-requirement.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/inline-javascript-requirement.scm b/doc/inline-javascript-requirement.scm
new file mode 100644
index 0000000..1b2a80f
--- /dev/null
+++ b/doc/inline-javascript-requirement.scm
@@ -0,0 +1,3 @@
+(command #:inputs (number #:type int)
+ #:run "echo" "$(1 + inputs.number)"
+ #:requirements ((InlineJavascriptRequirement)))