Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions command/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
# POSSIBILITY OF SUCH DAMAGE.

module Utils
ALTOOL = "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool"
XCRUN = "/usr/bin/xcrun"

def altool(arg)
if verbose?
puts "----------------------------------------"
puts " COMMAND : "
puts "\"#{ALTOOL}\" #{arg}"
puts "\"#{XCRUN}\" altool #{arg}"
end
message = `\"#{ALTOOL}\" #{arg} 2>&1`
message = `\"#{XCRUN}\" altool #{arg} 2>&1`
if verbose?
puts "----------------------------------------"
puts " RETURN : "
Expand All @@ -48,12 +48,12 @@ def altool(arg)

CONFIG_KEY = %w(
build_dir
deployment_target
deployment_target
)

def config
unless File.exist?('Rakefile')
help! "Run on root directoy of RubyMotion project."
help! "Run on root directory of RubyMotion project."
end

unless @config
Expand Down