Chain builder setup for better resiliency
Context may already exist while buildx does not
This commit is contained in:
@@ -16,6 +16,10 @@ module Mrsk::Commands
|
||||
.tap { |commands| commands.pop } # Remove trailing combiner
|
||||
end
|
||||
|
||||
def chain(*commands)
|
||||
combine *commands, by: ";"
|
||||
end
|
||||
|
||||
def pipe(*commands)
|
||||
combine *commands, by: "|"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user