Class: PhoneGap::Builders::IOS
- Inherits:
-
PhoneGap::Builder
- Object
- PhoneGap::Builder
- PhoneGap::Builders::IOS
- Defined in:
- lib/phonegap/builders/ios.rb
Instance Attribute Summary
Attributes inherited from PhoneGap::Builder
#build_path, #options, #path, #web_path
Instance Method Summary collapse
Methods inherited from PhoneGap::Builder
#initialize, platform, process, #process, register
Constructor Details
This class inherits a constructor from PhoneGap::Builder
Instance Method Details
#build ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/phonegap/builders/ios.rb', line 21 def build build_script = platform_path.join("build.sh") system( build_script.to_s, [:config], [:target], build_path.to_s ) end |
#generate ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/phonegap/builders/ios.rb', line 6 def generate setup_build create_script = platform_path.join("create_project.sh") system( create_script.to_s, [:name], build_path.to_s ) setup_template setup_application setup_platform end |