lib/gym/generators/build_command_generator.rb in gym-1.1.6 vs lib/gym/generators/build_command_generator.rb in gym-1.2.0

- old
+ new

@@ -56,10 +56,14 @@ suffix << "CODE_SIGN_IDENTITY='#{Gym.config[:codesigning_identity]}'" if Gym.config[:codesigning_identity] suffix end def pipe - ["| tee '#{xcodebuild_log_path}' | xcpretty"] + pipe = [] + pipe << "| tee '#{xcodebuild_log_path}' | xcpretty" + pipe << "> /dev/null" if Gym.config[:suppress_xcode_output] + + pipe end def xcodebuild_log_path file_name = "#{Gym.project.app_name}-#{Gym.config[:scheme]}.log" containing = File.expand_path(Gym.config[:buildlog_path])