Class: DownloadCalabash

Inherits:
BaseCommand show all
Defined in:
lib/commands/download_calabash.rb

Instance Method Summary collapse

Methods inherited from BaseCommand

#all_commands, #empty?, #initialize, #log_file

Constructor Details

This class inherits a constructor from BaseCommand

Instance Method Details

#after_commandObject



14
15
# File 'lib/commands/download_calabash.rb', line 14

def after_command
end

#before_commandObject

overrides from base class



6
7
8
# File 'lib/commands/download_calabash.rb', line 6

def before_command
  "cd #{@params.source_root} && rm -rf calabash.framework" if framework?
end

#main_commandObject



10
11
12
# File 'lib/commands/download_calabash.rb', line 10

def main_command
  "cd #{@params.source_root} && calabash-ios download"
end