From 40db32d3c36b4e304b9c8e39ae7f252aef5522d7 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 30 May 2024 02:22:30 +0100 Subject: 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. --- doc/inline-javascript-requirement.scm | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/inline-javascript-requirement.scm (limited to 'doc/inline-javascript-requirement.scm') 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))) -- cgit v1.2.3