mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-24 04:46:05 +08:00
[Vendor] Don't allow xcodebuild to litter our output with noise at all.
Xcoode 6 loves to complain about things that are not fatal to the build, so we should hide those from the user, unless in verbose mode.
This commit is contained in:
@@ -301,7 +301,7 @@ EOS
|
||||
def invoke_xcodebuild(cmd)
|
||||
command = "#{XCODEBUILD_PATH} #{cmd}"
|
||||
unless App::VERBOSE
|
||||
command << " | env RM_XCPRETTY_PRINTER_PROJECT_ROOT='#{project_dir}' '#{File.join(@config.motiondir, 'vendor/XCPretty/bin/xcpretty')}' --printer '#{File.join(@config.motiondir, 'lib/motion/project/vendor/xcpretty_printer.rb')}'"
|
||||
command << " 2>&1 | env RM_XCPRETTY_PRINTER_PROJECT_ROOT='#{project_dir}' '#{File.join(@config.motiondir, 'vendor/XCPretty/bin/xcpretty')}' --printer '#{File.join(@config.motiondir, 'lib/motion/project/vendor/xcpretty_printer.rb')}'"
|
||||
end
|
||||
sh command
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user