Module: Pod::ErrorUtil

Defined in:
lib/cocoapods-framework/util/error_util.rb

Class Method Summary collapse

Class Method Details

.error_report(command, output) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/cocoapods-framework/util/error_util.rb', line 4

def error_report(command, output)
  UI.puts "<<-EOF
  Build command failed: #{command}
  Output:
  #{output.map { |line| "    #{line}" }.join}
            EOF"
end