From 8c73f1f72c832606dd5e4dd430ec9535847acd39 Mon Sep 17 00:00:00 2001 From: KrauseFx Date: Thu, 13 Aug 2015 19:28:34 +0200 Subject: [PATCH] Fixed printing out the command when having Swift enabled --- lib/gym/runner.rb | 4 ++-- lib/gym/xcode_fix.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gym/runner.rb b/lib/gym/runner.rb index 979ee8d..2cb7346 100644 --- a/lib/gym/runner.rb +++ b/lib/gym/runner.rb @@ -13,8 +13,6 @@ def run move_results end - private - ##################################################### # @!group Printing out things ##################################################### @@ -42,6 +40,8 @@ def print_command(command, title) ) end + private + ##################################################### # @!group The individual steps ##################################################### diff --git a/lib/gym/xcode_fix.rb b/lib/gym/xcode_fix.rb index 22fad65..2aba962 100644 --- a/lib/gym/xcode_fix.rb +++ b/lib/gym/xcode_fix.rb @@ -30,7 +30,7 @@ def patch_package_application Dir[File.join(Helper.gem_path("gym"), "lib/assets/package_application_patches/*.diff")].each do |patch| Helper.log.info "Applying Package Application patch: #{File.basename(patch)}" unless Gym.config[:silent] command = ["patch #{patched_package_application_path} < #{patch}"] - print_command(command, "Applying Package Application patch: #{File.basename(patch)}") if $verbose + Runner.new.print_command(command, "Applying Package Application patch: #{File.basename(patch)}") if $verbose FastlaneCore::CommandExecutor.execute(command: command, print_all: false,