164
165
166
167
168
169
170
171
172
173
174
175
|
# File 'lib/blocks/blockBase.rb', line 164
def process_result(cmd, console_output, error_parser, alternate, reason, success)
hasError = (success == false)
printCmd(cmd, alternate, reason, hasError)
errorPrinted, incList = process_console_output(console_output, error_parser)
if hasError and not errorPrinted
Bake.formatter.printError("System command failed", @projectDir)
end
if hasError or (Bake.options.wparse and errorPrinted)
raise SystemCommandFailed.new
end
incList
end
|