Class: IosToolchain::Config
- Inherits:
-
Object
- Object
- IosToolchain::Config
- Defined in:
- lib/ios_toolchain/config.rb
Instance Method Summary collapse
- #app_targets ⇒ Object
- #crashlytics_framework_path ⇒ Object
- #crashlytics_installed? ⇒ Boolean
- #default_32bit_test_device ⇒ Object
- #default_64bit_test_device ⇒ Object
- #default_scheme ⇒ Object
- #default_sdk ⇒ Object
- #file_name ⇒ Object
- #project_file_path ⇒ Object
- #project_root_path ⇒ Object
- #provisioning_path ⇒ Object
- #test_targets ⇒ Object
- #ui_test_targets ⇒ Object
Instance Method Details
#app_targets ⇒ Object
30 31 32 |
# File 'lib/ios_toolchain/config.rb', line 30 def app_targets config_yaml['app-targets'] end |
#crashlytics_framework_path ⇒ Object
46 47 48 |
# File 'lib/ios_toolchain/config.rb', line 46 def crashlytics_framework_path absolute_path(config_yaml['crashlytics-framework-path']) end |
#crashlytics_installed? ⇒ Boolean
50 51 52 |
# File 'lib/ios_toolchain/config.rb', line 50 def crashlytics_installed? File.exists?(config_file_path) && !crashlytics_framework_path.nil? end |
#default_32bit_test_device ⇒ Object
22 23 24 |
# File 'lib/ios_toolchain/config.rb', line 22 def default_32bit_test_device config_yaml['default-32bit-test-device'] end |
#default_64bit_test_device ⇒ Object
26 27 28 |
# File 'lib/ios_toolchain/config.rb', line 26 def default_64bit_test_device config_yaml['default-64bit-test-device'] end |
#default_scheme ⇒ Object
18 19 20 |
# File 'lib/ios_toolchain/config.rb', line 18 def default_scheme config_yaml['default-scheme'] end |
#default_sdk ⇒ Object
14 15 16 |
# File 'lib/ios_toolchain/config.rb', line 14 def default_sdk config_yaml['default-sdk'] end |
#file_name ⇒ Object
54 55 56 |
# File 'lib/ios_toolchain/config.rb', line 54 def file_name '.ios_toolchain.yml' end |
#project_file_path ⇒ Object
10 11 12 |
# File 'lib/ios_toolchain/config.rb', line 10 def project_file_path absolute_path(config_yaml['project-file-path']) end |
#project_root_path ⇒ Object
6 7 8 |
# File 'lib/ios_toolchain/config.rb', line 6 def project_root_path Bundler.root.to_s end |
#provisioning_path ⇒ Object
42 43 44 |
# File 'lib/ios_toolchain/config.rb', line 42 def provisioning_path absolute_path(config_yaml['provisioning-path']) end |
#test_targets ⇒ Object
34 35 36 |
# File 'lib/ios_toolchain/config.rb', line 34 def test_targets config_yaml['test-targets'] || [] end |
#ui_test_targets ⇒ Object
38 39 40 |
# File 'lib/ios_toolchain/config.rb', line 38 def ui_test_targets config_yaml['ui-test-targets'] || [] end |