From 4877cc3eea91f3557c5c15d51e945a2afe88b1f4 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 17 May 2021 02:20:05 +0530 Subject: Support commands with implicit step identifier. * ccwl/ccwl.scm (workflow-steps): When command does not specify step identifier, assume the step identifier is the same as the command symbol. --- ccwl/ccwl.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm index 1469471..7608d51 100644 --- a/ccwl/ccwl.scm +++ b/ccwl/ccwl.scm @@ -377,6 +377,10 @@ list of supplied input objects." input-keys))))) (pairify (syntax->datum #'(args ...)))) (command-outputs command-object))))))) + ;; commands with an implicit step identifier + ((command args ...) + (workflow-steps #'(command (command) args ...) + input-keys)) ;; any other unrecognized syntax (x (error "Unrecognized syntax:" (syntax->datum #'x))))) -- cgit v1.2.3