Class: PodsOrz::PodOrzconfigParse
- Inherits:
-
Object
- Object
- PodsOrz::PodOrzconfigParse
- Defined in:
- lib/podsorz/core/Config/pod_orzconfig_parse.rb
Instance Attribute Summary collapse
-
#app_release_version ⇒ Object
Returns the value of attribute app_release_version.
-
#branch_author_suffix ⇒ Object
Returns the value of attribute branch_author_suffix.
-
#file_binaryrepo_name ⇒ Object
Returns the value of attribute file_binaryrepo_name.
-
#file_coderepo_name ⇒ Object
Returns the value of attribute file_coderepo_name.
-
#file_devpods_name ⇒ Object
Returns the value of attribute file_devpods_name.
-
#file_package_filter_mark ⇒ Object
Returns the value of attribute file_package_filter_mark.
-
#fix_pod_list ⇒ Object
Returns the value of attribute fix_pod_list.
-
#is_all_binary ⇒ Object
Returns the value of attribute is_all_binary.
-
#remote_url_codespec ⇒ Object
Returns the value of attribute remote_url_codespec.
-
#remote_url_sourcecode ⇒ Object
Returns the value of attribute remote_url_sourcecode.
-
#static_lib_list ⇒ Object
Returns the value of attribute static_lib_list.
-
#will_package_list ⇒ Object
Returns the value of attribute will_package_list.
Instance Method Summary collapse
-
#initialize(main_path) ⇒ PodOrzconfigParse
constructor
A new instance of PodOrzconfigParse.
Constructor Details
#initialize(main_path) ⇒ PodOrzconfigParse
Returns a new instance of PodOrzconfigParse.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 8 def initialize(main_path) orzconfig_path = File.("PodsOrzConfig.rb", main_path) orzconfig_result = File.exist?(orzconfig_path) unless orzconfig_result Logger.error("PodsOrzConfig.rb is not found. Please 'podsorz setup' first") exit() end require orzconfig_path @app_release_version = GitConfig::APP_RELEASE_VERSION @app_release_version = "" if @app_release_version.nil? = GitConfig::BRANCH_AUTHOR_SUFFIX = "" if .nil? @remote_url_sourcecode = GitConfig::REMOTE_URL_SOURCECODE @remote_url_sourcecode = "" if @remote_url_sourcecode.nil? @remote_url_codespec = GitConfig::REMOTE_URL_CODESPEC @remote_url_codespec = "" if @remote_url_codespec.nil? @file_devpods_name = FileConfig::FILE_DEVPODS_NAME @file_devpods_name = "" if @file_devpods_name.nil? @file_package_filter_mark = FileConfig::FILE_PACKAGE_FILTER_MARK @file_package_filter_mark = "" if @file_package_filter_mark.nil? @file_coderepo_name = FileConfig::FILE_CODEREPO_NAME @file_coderepo_name = "" if @file_coderepo_name.nil? @file_binaryrepo_name = FileConfig::FILE_BINARYREPO_NAME @file_binaryrepo_name = "" if @file_binaryrepo_name.nil? @fix_pod_list = $FIX_POD_LIST @fix_pod_list = [] if @fix_pod_list.nil? @is_all_binary = $is_all_binary @is_all_binary = false if @is_all_binary.nil? @static_lib_list = $static_lib_list @static_lib_list = [] if @static_lib_list.nil? @will_package_list = $will_package_list @will_package_list = [] if @will_package_list.nil? end |
Instance Attribute Details
#app_release_version ⇒ Object
Returns the value of attribute app_release_version.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def app_release_version @app_release_version end |
#branch_author_suffix ⇒ Object
Returns the value of attribute branch_author_suffix.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def end |
#file_binaryrepo_name ⇒ Object
Returns the value of attribute file_binaryrepo_name.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def file_binaryrepo_name @file_binaryrepo_name end |
#file_coderepo_name ⇒ Object
Returns the value of attribute file_coderepo_name.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def file_coderepo_name @file_coderepo_name end |
#file_devpods_name ⇒ Object
Returns the value of attribute file_devpods_name.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def file_devpods_name @file_devpods_name end |
#file_package_filter_mark ⇒ Object
Returns the value of attribute file_package_filter_mark.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def file_package_filter_mark @file_package_filter_mark end |
#fix_pod_list ⇒ Object
Returns the value of attribute fix_pod_list.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def fix_pod_list @fix_pod_list end |
#is_all_binary ⇒ Object
Returns the value of attribute is_all_binary.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def is_all_binary @is_all_binary end |
#remote_url_codespec ⇒ Object
Returns the value of attribute remote_url_codespec.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def remote_url_codespec @remote_url_codespec end |
#remote_url_sourcecode ⇒ Object
Returns the value of attribute remote_url_sourcecode.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def remote_url_sourcecode @remote_url_sourcecode end |
#static_lib_list ⇒ Object
Returns the value of attribute static_lib_list.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def static_lib_list @static_lib_list end |
#will_package_list ⇒ Object
Returns the value of attribute will_package_list.
6 7 8 |
# File 'lib/podsorz/core/Config/pod_orzconfig_parse.rb', line 6 def will_package_list @will_package_list end |