Class: XcodeUtils::Command::Carthage::Clean

Inherits:
XcodeUtils::Command::Carthage show all
Defined in:
lib/xcutils/carthage.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from XcodeUtils::Command::Carthage

install_bash_file_path

Constructor Details

#initialize(argv) ⇒ Clean

Returns a new instance of Clean.



40
41
42
43
# File 'lib/xcutils/carthage.rb', line 40

def initialize(argv)
  super
  @additional_args = argv.remainder!
end

Class Method Details

.optionsObject



36
37
38
# File 'lib/xcutils/carthage.rb', line 36

def self.options
  []
end

Instance Method Details

#runObject



48
49
50
51
# File 'lib/xcutils/carthage.rb', line 48

def run
  XcodeUtils::Carthage::XcodeConfig.new.clean
  system("rm -rf ./Carthage")
end

#validate!Object



45
46
# File 'lib/xcutils/carthage.rb', line 45

def validate!
end