class XcodeUtils::Command::Carthage

Public Class Methods

install_bash_file_path() click to toggle source
# File lib/xcutils/carthage.rb, line 9
def self.install_bash_file_path
  File.expand_path('../../../sh/install_carthage.sh', __FILE__)
end
new(argv) click to toggle source
Calls superclass method
# File lib/xcutils/carthage.rb, line 17
def initialize(argv)
  super
  @additional_args = argv.remainder!
end
options() click to toggle source
# File lib/xcutils/carthage.rb, line 13
def self.options
  []
end

Public Instance Methods

run() click to toggle source
# File lib/xcutils/carthage.rb, line 25
def run
  path = File.expand_path('../../../sh/install_carthage.sh', __FILE__)
  system("bash #{Carthage::install_bash_file_path}")
  system("carthage #{@additional_args.join(" ")}")
  XcodeUtils::Carthage::XcodeConfig.new.run
end
validate!() click to toggle source
# File lib/xcutils/carthage.rb, line 22
def validate!
end