share/rbbt_commands/workflow/prov in rbbt-util-5.21.126 vs share/rbbt_commands/workflow/prov in rbbt-util-5.21.127

- old
+ new

@@ -32,18 +32,26 @@ $seen << file Step.new file end def status_msg(status) - color = case status - when :error, :aborted, :missing + color = case status.to_sym + when :error, :aborted, :missing, :dead :red - when :streaming - :yellow + when :streaming, :started + :cyan when :done :green + when :dependencies, :waiting, :setyp + :yellow + else + if status.to_s.index ">" + :cyan + else + :cyan + end end - Log.color(color, status) + Log.color(color, status.to_s) end def report_msg(status, name, path) parts = path.sub(/\{.*/,'').sub(/#{Regexp.quote(name)}$/,'').split "/"