Class: Escalator::Archive
- Inherits:
-
Object
- Object
- Escalator::Archive
- Defined in:
- lib/escalator/archive.rb
Class Method Summary collapse
Class Method Details
.run(command) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/escalator/archive.rb', line 7 def run command @command = command Throw.note "Begin archive #{File.basename File.dirname command.project_path} ..." prepareContext buildProject archiveProject exportAssets exportCoverInfo if command.show_output? system "open #{command.output_path}" end Throw.note "Archive Success!" "#{output_path}/#{product_name}.ipa" end |