Class: BuildApp
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- BuildApp
- Defined in:
- lib/commands/build_app.rb
Instance Method Summary collapse
- #after_command ⇒ Object
-
#before_command ⇒ Object
overriding base class methods.
- #log_file ⇒ Object
- #main_command ⇒ Object
Methods inherited from BaseCommand
#all_commands, #empty?, #initialize
Constructor Details
This class inherits a constructor from BaseCommand
Instance Method Details
#after_command ⇒ Object
14 15 |
# File 'lib/commands/build_app.rb', line 14 def after_command end |
#before_command ⇒ Object
overriding base class methods
6 7 8 |
# File 'lib/commands/build_app.rb', line 6 def before_command "cd #{@params.source_root} && pod install" if cocoapods? end |
#log_file ⇒ Object
17 18 |
# File 'lib/commands/build_app.rb', line 17 def log_file end |
#main_command ⇒ Object
10 11 12 |
# File 'lib/commands/build_app.rb', line 10 def main_command "cd #{@params.source_root} && xcodebuild #{build_args} -sdk #{@params.architecture} -configuration #{@params.configuration} clean build CONFIGURATION_BUILD_DIR=#{build_dir}" end |