pindo 5.13.1 → 5.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pindo/base/git_handler.rb +692 -0
- data/lib/pindo/command/android/autobuild.rb +2 -2
- data/lib/pindo/command/appstore/adhocbuild.rb +256 -311
- data/lib/pindo/command/appstore/autobuild.rb +203 -0
- data/lib/pindo/command/appstore/autoresign.rb +35 -17
- data/lib/pindo/command/appstore/bundleid.rb +120 -0
- data/lib/pindo/command/appstore/cert.rb +212 -0
- data/lib/pindo/command/appstore/configproj.rb +81 -0
- data/lib/pindo/command/{deploy → appstore}/getitcinfo.rb +76 -91
- data/lib/pindo/command/appstore/iap.rb +788 -24
- data/lib/pindo/command/appstore/initconfig.rb +105 -0
- data/lib/pindo/command/appstore/itcapp.rb +95 -13
- data/lib/pindo/command/{deploy → appstore}/itcinfo.rb +90 -118
- data/lib/pindo/command/appstore/pem.rb +136 -0
- data/lib/pindo/command/appstore/pullconfig.rb +99 -0
- data/lib/pindo/command/appstore/quswark.rb +87 -0
- data/lib/pindo/command/appstore/quswauth.rb +67 -0
- data/lib/pindo/command/appstore/tag.rb +77 -0
- data/lib/pindo/command/appstore.rb +13 -1
- data/lib/pindo/command/env/quarkenv.rb +11 -13
- data/lib/pindo/command/env/swarkenv.rb +11 -16
- data/lib/pindo/command/ios/applovin.rb +24 -182
- data/lib/pindo/command/ios/autobuild.rb +64 -43
- data/lib/pindo/command/ios/autoresign.rb +34 -19
- data/lib/pindo/command/ios/build.rb +9 -6
- data/lib/pindo/command/ios/cert.rb +27 -20
- data/lib/pindo/command/ios/podupdate.rb +6 -37
- data/lib/pindo/command/jps/upload.rb +3 -3
- data/lib/pindo/command/unity/autobuild.rb +2 -2
- data/lib/pindo/command/utils/clearcert.rb +2 -17
- data/lib/pindo/command/{deploy → utils}/fabric.rb +13 -13
- data/lib/pindo/command/utils/renewcert.rb +62 -38
- data/lib/pindo/command/utils/renewproj.rb +0 -3
- data/lib/pindo/command/{deploy → utils}/updateconfig.rb +6 -7
- data/lib/pindo/command/utils.rb +2 -0
- data/lib/pindo/command/web/autobuild.rb +2 -2
- data/lib/pindo/command.rb +30 -3
- data/lib/pindo/config/build_info_manager.rb +176 -0
- data/lib/pindo/config/ios_config_parser.rb +404 -0
- data/lib/pindo/module/android/android_config_helper.rb +9 -5
- data/lib/pindo/module/appstore/bundleid_helper.rb +349 -0
- data/lib/pindo/module/appstore/itcapp_helper.rb +228 -0
- data/lib/pindo/module/build/build_helper.rb +12 -0
- data/lib/pindo/module/build/swark_helper.rb +116 -77
- data/lib/pindo/module/cert/cert_helper.rb +74 -0
- data/lib/pindo/module/cert/pem_helper.rb +72 -0
- data/lib/pindo/module/cert/{xcodecerthelper.rb → xcode_cert_helper.rb} +211 -6
- data/lib/pindo/module/pgyer/pgyerhelper.rb +13 -5
- data/lib/pindo/module/task/model/appstore/appstore_task.rb +18 -0
- data/lib/pindo/module/task/model/appstore/appstore_upload_ipa_task.rb +151 -0
- data/lib/pindo/module/task/model/appstore/appstore_upload_metadata_task.rb +250 -0
- data/lib/pindo/module/task/model/appstore/appstore_upload_screenshot_task.rb +276 -0
- data/lib/pindo/module/task/model/build/android_build_adhoc_task.rb +210 -0
- data/lib/pindo/module/task/model/build/{android_dev_build_task.rb → android_build_dev_task.rb} +2 -2
- data/lib/pindo/module/task/model/build/android_build_gplay_task.rb +210 -0
- data/lib/pindo/module/task/model/build/android_build_task.rb +13 -0
- data/lib/pindo/module/task/model/build/ios_build_adhoc_task.rb +342 -0
- data/lib/pindo/module/task/model/build/ios_build_appstore_task.rb +341 -0
- data/lib/pindo/module/task/model/build/{ios_dev_build_task.rb → ios_build_dev_task.rb} +40 -59
- data/lib/pindo/module/task/model/build/ios_build_task.rb +23 -0
- data/lib/pindo/module/task/model/build/{web_dev_build_task.rb → web_build_dev_task.rb} +1 -1
- data/lib/pindo/module/task/model/build_task.rb +15 -12
- data/lib/pindo/module/task/model/jps_resign_task.rb +185 -0
- data/lib/pindo/module/task/model/{upload_task.rb → jps_upload_task.rb} +3 -3
- data/lib/pindo/module/task/model/unity_export_task.rb +3 -1
- data/lib/pindo/module/unity/unity_helper.rb +2 -1
- data/lib/pindo/module/xcode/applovin_xcode_helper.rb +271 -0
- data/lib/pindo/module/xcode/cocoapods_helper.rb +153 -0
- data/lib/pindo/module/xcode/ipa_resign_helper.rb +210 -0
- data/lib/pindo/module/xcode/{xcodeappconfig.rb → xcode_app_config.rb} +79 -0
- data/lib/pindo/module/xcode/xcode_build_config.rb +152 -17
- data/lib/pindo/module/xcode/xcode_build_helper.rb +151 -1
- data/lib/pindo/module/xcode/xcode_swark_helper.rb +341 -0
- data/lib/pindo/options/core/global_options_state.rb +268 -0
- data/lib/pindo/options/core/option_configuration.rb +206 -0
- data/lib/pindo/options/core/option_initializer.rb +51 -0
- data/lib/pindo/options/core/option_item.rb +144 -0
- data/lib/pindo/options/core/option_value_parser.rb +54 -0
- data/lib/pindo/options/groups/build_options.rb +60 -0
- data/lib/pindo/options/groups/jps_options.rb +70 -0
- data/lib/pindo/options/groups/option_group.rb +73 -0
- data/lib/pindo/options/helpers/bundleid_selector.rb +103 -0
- data/lib/pindo/options/options.rb +14 -0
- data/lib/pindo/version.rb +1 -1
- metadata +51 -40
- data/lib/pindo/command/appstore/import.rb +0 -259
- data/lib/pindo/command/deploy/build.rb +0 -250
- data/lib/pindo/command/deploy/bundleid.rb +0 -259
- data/lib/pindo/command/deploy/cert.rb +0 -202
- data/lib/pindo/command/deploy/check.rb +0 -93
- data/lib/pindo/command/deploy/configproj.rb +0 -120
- data/lib/pindo/command/deploy/confusecode.rb +0 -262
- data/lib/pindo/command/deploy/confuseproj.rb +0 -122
- data/lib/pindo/command/deploy/iap.rb +0 -826
- data/lib/pindo/command/deploy/initconfig.rb +0 -138
- data/lib/pindo/command/deploy/itcapp.rb +0 -146
- data/lib/pindo/command/deploy/pem.rb +0 -55
- data/lib/pindo/command/deploy/pullconfig.rb +0 -56
- data/lib/pindo/command/deploy/pushconfig.rb +0 -93
- data/lib/pindo/command/deploy/quswark.rb +0 -156
- data/lib/pindo/command/deploy/quswauth.rb +0 -76
- data/lib/pindo/command/deploy/reportbug.rb +0 -145
- data/lib/pindo/command/deploy/resign.rb +0 -300
- data/lib/pindo/command/deploy/tag.rb +0 -108
- data/lib/pindo/command/deploy/uploadipa.rb +0 -73
- data/lib/pindo/command/deploy.rb +0 -42
- data/lib/pindo/command/dev/autobuild.rb +0 -117
- data/lib/pindo/command/dev/build.rb +0 -94
- data/lib/pindo/command/dev/debug.rb +0 -112
- data/lib/pindo/module/task/model/build/android_release_build_task.rb +0 -29
- data/lib/pindo/module/task/model/build/ios_adhoc_build_task.rb +0 -53
- data/lib/pindo/module/task/model/build/ios_release_build_task.rb +0 -53
- data/lib/pindo/options/appconfigoptions.rb +0 -24
- data/lib/pindo/options/deployoptions.rb +0 -372
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
module Pindo
|
|
3
|
-
class Command
|
|
4
|
-
module DeployOptions
|
|
5
|
-
|
|
6
|
-
attr_accessor :args_array
|
|
7
|
-
attr_accessor :argv_temp
|
|
8
|
-
|
|
9
|
-
attr_accessor :args_appconfig
|
|
10
|
-
attr_accessor :args_appconfig_dir
|
|
11
|
-
attr_accessor :args_appconfig_fullname
|
|
12
|
-
|
|
13
|
-
attr_accessor :args_apple_id
|
|
14
|
-
attr_accessor :args_bundle_id
|
|
15
|
-
attr_accessor :args_repo_name
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
attr_accessor :apple_id
|
|
19
|
-
attr_accessor :group_id
|
|
20
|
-
attr_accessor :icloud_id
|
|
21
|
-
attr_accessor :bundle_id
|
|
22
|
-
attr_accessor :bundle_id_pushcontent
|
|
23
|
-
attr_accessor :bundle_id_pushservice
|
|
24
|
-
attr_accessor :bundle_id_keyboard
|
|
25
|
-
attr_accessor :bundle_id_imessage
|
|
26
|
-
attr_accessor :bundle_id_extension
|
|
27
|
-
attr_accessor :bundle_id_siri
|
|
28
|
-
attr_accessor :bundle_id_siriui
|
|
29
|
-
attr_accessor :bundle_id_widget
|
|
30
|
-
attr_accessor :bundle_id_extensionad
|
|
31
|
-
attr_accessor :bundle_id_extensionporn
|
|
32
|
-
attr_accessor :bundle_id_watchapp
|
|
33
|
-
attr_accessor :bundle_id_watchapp_extension
|
|
34
|
-
|
|
35
|
-
attr_accessor :deploy_repo_name
|
|
36
|
-
attr_accessor :deploy_acount_id
|
|
37
|
-
attr_accessor :deploy_group_id
|
|
38
|
-
attr_accessor :deploy_icloud_id
|
|
39
|
-
attr_accessor :deploy_identifier
|
|
40
|
-
attr_accessor :deploy_identifier_pushcontent
|
|
41
|
-
attr_accessor :deploy_identifier_pushservice
|
|
42
|
-
attr_accessor :deploy_identifier_keyboard
|
|
43
|
-
attr_accessor :deploy_identifier_imessage
|
|
44
|
-
attr_accessor :deploy_identifier_siri
|
|
45
|
-
attr_accessor :deploy_identifier_siriui
|
|
46
|
-
attr_accessor :deploy_identifier_widget
|
|
47
|
-
attr_accessor :deploy_identifier_extension
|
|
48
|
-
attr_accessor :deploy_identifier_extensionad
|
|
49
|
-
attr_accessor :deploy_identifier_extensionporn
|
|
50
|
-
attr_accessor :deploy_identifier_watchapp
|
|
51
|
-
attr_accessor :deploy_identifier_watchapp_extension
|
|
52
|
-
|
|
53
|
-
attr_accessor :args_dev_flag
|
|
54
|
-
attr_accessor :args_adhoc_flag
|
|
55
|
-
attr_accessor :args_appstore_flag
|
|
56
|
-
attr_accessor :args_macos_flag
|
|
57
|
-
|
|
58
|
-
attr_accessor :newconfuse_flag
|
|
59
|
-
attr_accessor :oldconfuse_flag
|
|
60
|
-
|
|
61
|
-
attr_accessor :config_json
|
|
62
|
-
attr_accessor :additional_args
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
def self.options
|
|
66
|
-
[
|
|
67
|
-
['--u=', 'input apple id'],
|
|
68
|
-
['--a=', 'input bundle id'],
|
|
69
|
-
['--repo=', 'input build config repo name'],
|
|
70
|
-
|
|
71
|
-
['--dev', 'use dev build mode'],
|
|
72
|
-
['--adhoc', 'use adhoc build mode'],
|
|
73
|
-
['--appstore', 'use appstore build mode'],
|
|
74
|
-
['--macos', 'use platform macos'],
|
|
75
|
-
|
|
76
|
-
['--nocreate', 'no create xcode project'],
|
|
77
|
-
|
|
78
|
-
['--newconfuse', 'use version 2.0 confuse'],
|
|
79
|
-
['--oldconfuse', 'use version 1.0 confuse'],
|
|
80
|
-
['--type=class', 'input confuse type, defautl: --type=class_method_variable_protocol_property_category_pods']
|
|
81
|
-
|
|
82
|
-
].concat(super)
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def initialize(argv)
|
|
86
|
-
|
|
87
|
-
@args_array = argv.remainder | []
|
|
88
|
-
|
|
89
|
-
@args_appconfig = argv.shift_argument || './config.json'
|
|
90
|
-
|
|
91
|
-
@args_apple_id = argv.option('u')
|
|
92
|
-
@args_bundle_id = argv.option('a')
|
|
93
|
-
@deploy_repo_name = argv.option('repo')
|
|
94
|
-
|
|
95
|
-
@args_dev_flag = argv.flag?('dev', false)
|
|
96
|
-
@args_adhoc_flag = argv.flag?('adhoc', false)
|
|
97
|
-
@args_appstore_flag = argv.flag?('appstore', false)
|
|
98
|
-
@args_macos_flag = argv.flag?('macos', false)
|
|
99
|
-
|
|
100
|
-
@newconfuse_flag = argv.flag?('newconfuse', true)
|
|
101
|
-
@oldconfuse_flag = argv.flag?('oldconfuse', false)
|
|
102
|
-
|
|
103
|
-
@confuse_type = argv.option('type') || 'class_method_protocol_property_category_variable_pods'
|
|
104
|
-
|
|
105
|
-
super
|
|
106
|
-
@additional_args = argv.remainder!
|
|
107
|
-
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
def validate!
|
|
111
|
-
super
|
|
112
|
-
if !@args_appconfig.empty? && File::file?(@args_appconfig)
|
|
113
|
-
@args_appconfig_dir=File::expand_path(File::dirname(@args_appconfig))
|
|
114
|
-
@args_appconfig_fullname=File::join(@args_appconfig_dir, File::basename(@args_appconfig))
|
|
115
|
-
@config_json=JSON.parse(File.read(@args_appconfig_fullname))
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
version = nil
|
|
119
|
-
if !@config_json.nil?
|
|
120
|
-
version = @config_json['config_version']
|
|
121
|
-
end
|
|
122
|
-
if version.nil?
|
|
123
|
-
# raise Informative, "Your config.json is out of date, please upgrade config.json !!!"
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
init_deploy_params()
|
|
127
|
-
|
|
128
|
-
init_develop_params()
|
|
129
|
-
|
|
130
|
-
help! 'Need input a apple id, you may input wiht --u options' if @args_apple_id.nil? && @deploy_acount_id.nil?
|
|
131
|
-
|
|
132
|
-
help! 'Need input a bundle id, you may input with --a options' if @args_bundle_id.nil? && @deploy_identifier.nil?
|
|
133
|
-
|
|
134
|
-
# print_params_info()
|
|
135
|
-
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
def get_build_type_args()
|
|
139
|
-
args_temp = []
|
|
140
|
-
|
|
141
|
-
mode_flag = "--adhoc"
|
|
142
|
-
if @args_dev_flag
|
|
143
|
-
mode_flag = "--dev"
|
|
144
|
-
end
|
|
145
|
-
if @args_appstore_flag
|
|
146
|
-
mode_flag = "--appstore"
|
|
147
|
-
end
|
|
148
|
-
args_temp << mode_flag
|
|
149
|
-
|
|
150
|
-
if @args_macos_flag
|
|
151
|
-
args_temp << "--macos"
|
|
152
|
-
end
|
|
153
|
-
return args_temp
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
def get_confuse_type_args()
|
|
157
|
-
args_temp = []
|
|
158
|
-
confuse_flag = "--newconfuse"
|
|
159
|
-
if @oldconfuse_flag
|
|
160
|
-
mode_flag = "--oldconfuse"
|
|
161
|
-
end
|
|
162
|
-
args_temp << mode_flag
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
def get_bundle_id_map
|
|
166
|
-
|
|
167
|
-
dic = {
|
|
168
|
-
"bundle_id": @deploy_identifier.nil? ? nil : @bundle_id,
|
|
169
|
-
"bundle_id_pushcontent": @deploy_identifier_pushcontent.nil? ? nil : @bundle_id_pushcontent,
|
|
170
|
-
"bundle_id_pushservice": @deploy_identifier_pushservice.nil? ? nil : @bundle_id_pushservice,
|
|
171
|
-
"bundle_id_keyboard": @deploy_identifier_keyboard.nil? ? nil : @bundle_id_keyboard,
|
|
172
|
-
"bundle_id_imessage": @deploy_identifier_imessage.nil? ? nil : @bundle_id_imessage,
|
|
173
|
-
"bundle_id_extension": @deploy_identifier_extension.nil? ? nil : @bundle_id_extension,
|
|
174
|
-
"bundle_id_siri": @deploy_identifier_siri.nil? ? nil : @bundle_id_siri,
|
|
175
|
-
"bundle_id_siriui": @deploy_identifier_siriui.nil? ? nil : @bundle_id_siriui,
|
|
176
|
-
"bundle_id_widget": @deploy_identifier_widget.nil? ? nil : @bundle_id_widget,
|
|
177
|
-
"bundle_id_extensionad": @deploy_identifier_extensionad.nil? ? nil : @bundle_id_extensionad,
|
|
178
|
-
"bundle_id_extensionporn": @deploy_identifier_extensionporn.nil? ? nil : @bundle_id_extensionporn,
|
|
179
|
-
"bundle_id_watchapp": @deploy_identifier_watchapp.nil? ? nil : @bundle_id_watchapp,
|
|
180
|
-
"bundle_id_watchapp_extension": @deploy_identifier_watchapp_extension.nil? ? nil : @bundle_id_watchapp_extension
|
|
181
|
-
}
|
|
182
|
-
# puts dic.compact
|
|
183
|
-
|
|
184
|
-
return dic.compact
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
def init_deploy_params()
|
|
188
|
-
|
|
189
|
-
if !@config_json.nil?
|
|
190
|
-
if @config_json['account_info'] && @config_json['account_info']['apple_acount_id']
|
|
191
|
-
@deploy_acount_id = @config_json['account_info']['apple_acount_id']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if @config_json['app_info'] && @config_json['app_info']['app_group_id']
|
|
195
|
-
@deploy_group_id = @config_json['app_info']['app_group_id']
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
if @config_json['app_info'] && @config_json['app_info']['app_icloud_id']
|
|
199
|
-
@deploy_icloud_id = @config_json['app_info']['app_icloud_id']
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier']
|
|
203
|
-
@deploy_identifier = @config_json['app_info']['app_identifier']
|
|
204
|
-
if @deploy_identifier.eql?("com.heroneverdie101")
|
|
205
|
-
@deploy_identifier = "com.heroneverdie101.*"
|
|
206
|
-
end
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_pushcontent']
|
|
210
|
-
@deploy_identifier_pushcontent = @config_json['app_info']['app_identifier_pushcontent']
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_pushservice']
|
|
214
|
-
@deploy_identifier_pushservice = @config_json['app_info']['app_identifier_pushservice']
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_keyboard']
|
|
218
|
-
@deploy_identifier_keyboard = @config_json['app_info']['app_identifier_keyboard']
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_imessage']
|
|
222
|
-
@deploy_identifier_imessage = @config_json['app_info']['app_identifier_imessage']
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_siri']
|
|
226
|
-
@deploy_identifier_siri = @config_json['app_info']['app_identifier_siri']
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_siriui']
|
|
230
|
-
@deploy_identifier_siriui = @config_json['app_info']['app_identifier_siriui']
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_widget']
|
|
234
|
-
@deploy_identifier_widget = @config_json['app_info']['app_identifier_widget']
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_extension']
|
|
238
|
-
@deploy_identifier_extension = @config_json['app_info']['app_identifier_extension']
|
|
239
|
-
end
|
|
240
|
-
|
|
241
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_extensionad']
|
|
242
|
-
@deploy_identifier_extensionad = @config_json['app_info']['app_identifier_extensionad']
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_extensionporn']
|
|
246
|
-
@deploy_identifier_extensionporn = @config_json['app_info']['app_identifier_extensionporn']
|
|
247
|
-
end
|
|
248
|
-
|
|
249
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_watchapp']
|
|
250
|
-
@deploy_identifier_watchapp = @config_json['app_info']['app_identifier_watchapp']
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if @config_json['app_info'] && @config_json['app_info']['app_identifier_watchapp_extension']
|
|
254
|
-
@deploy_identifier_watchapp_extension = @config_json['app_info']['app_identifier_watchapp_extension']
|
|
255
|
-
end
|
|
256
|
-
end
|
|
257
|
-
|
|
258
|
-
if @deploy_repo_name.nil?
|
|
259
|
-
@deploy_repo_name = @deploy_identifier
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
@apple_id = @deploy_acount_id
|
|
263
|
-
@bundle_id = @deploy_identifier
|
|
264
|
-
@group_id = @deploy_group_id
|
|
265
|
-
@icloud_id = @deploy_icloud_id
|
|
266
|
-
@bundle_id_pushcontent = @deploy_identifier_pushcontent
|
|
267
|
-
@bundle_id_pushservice = @deploy_identifier_pushservice
|
|
268
|
-
@bundle_id_keyboard = @deploy_identifier_keyboard
|
|
269
|
-
@bundle_id_imessage = @deploy_identifier_imessage
|
|
270
|
-
@bundle_id_siri = @deploy_identifier_siri
|
|
271
|
-
@bundle_id_siriui = @deploy_identifier_siriui
|
|
272
|
-
@bundle_id_widget = @deploy_identifier_widget
|
|
273
|
-
@bundle_id_extension = @deploy_identifier_extension
|
|
274
|
-
@bundle_id_extensionad = @deploy_identifier_extensionad
|
|
275
|
-
@bundle_id_extensionporn = @deploy_identifier_extensionporn
|
|
276
|
-
@bundle_id_watchapp = @deploy_identifier_watchapp
|
|
277
|
-
@bundle_id_watchapp_extension = @deploy_identifier_watchapp_extension
|
|
278
|
-
|
|
279
|
-
end
|
|
280
|
-
|
|
281
|
-
def init_develop_params()
|
|
282
|
-
unless @args_apple_id.nil?
|
|
283
|
-
@apple_id = @args_apple_id
|
|
284
|
-
end
|
|
285
|
-
|
|
286
|
-
unless @args_bundle_id.nil?
|
|
287
|
-
@bundle_id = @args_bundle_id.nil? ? @deploy_identifier : @args_bundle_id
|
|
288
|
-
@group_id = @deploy_group_id.nil? ? @deploy_group_id : ("group." + @bundle_id)
|
|
289
|
-
@icloud_id = @deploy_icloud_id.nil? ? @deploy_icloud_id : ("iCloud." + @bundle_id)
|
|
290
|
-
@bundle_id_pushcontent = @deploy_identifier_pushcontent.nil? ? @deploy_identifier_pushcontent : (@bundle_id+".content")
|
|
291
|
-
@bundle_id_pushservice = @deploy_identifier_pushservice.nil? ? @deploy_identifier_pushservice : (@bundle_id+".service")
|
|
292
|
-
@bundle_id_keyboard = @deploy_identifier_keyboard.nil? ? @deploy_identifier_keyboard : (@bundle_id+".keyboard")
|
|
293
|
-
@bundle_id_imessage = @deploy_identifier_imessage.nil? ? @deploy_identifier_imessage : (@bundle_id+".imessage")
|
|
294
|
-
@bundle_id_siri = @deploy_identifier_siri.nil? ? @deploy_identifier_siri : (@bundle_id+".siri")
|
|
295
|
-
@bundle_id_siriui = @deploy_identifier_siriui.nil? ? @deploy_identifier_siriui : (@bundle_id+".siriui")
|
|
296
|
-
@bundle_id_widget = @deploy_identifier_widget.nil? ? @deploy_identifier_widget : (@bundle_id+".widget")
|
|
297
|
-
@bundle_id_extension = @deploy_identifier_extension.nil? ? @deploy_identifier_extension : (@bundle_id+".extension")
|
|
298
|
-
@bundle_id_extensionad = @deploy_identifier_extensionad.nil? ? @deploy_identifier_extensionad : (@bundle_id+".extensionad")
|
|
299
|
-
@bundle_id_extensionporn = @deploy_identifier_extensionporn.nil? ? @deploy_identifier_extensionporn : (@bundle_id+".extensionporn")
|
|
300
|
-
@bundle_id_watchapp = @deploy_identifier_watchapp.nil? ? @deploy_identifier_watchapp : (@bundle_id+".watchapp")
|
|
301
|
-
@bundle_id_watchapp_extension = @deploy_identifier_watchapp_extension.nil? ? @deploy_identifier_watchapp_extension : (@bundle_id+".watchapp.extension")
|
|
302
|
-
end
|
|
303
|
-
end
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
def check_config_version()
|
|
307
|
-
|
|
308
|
-
build_version = @config_json['config_version']
|
|
309
|
-
build_version_int = build_version.split('.').map(&:to_i)
|
|
310
|
-
|
|
311
|
-
if build_version_int[0] < 1 || (build_version_int[0] ==1 && build_version_int[1] < 4)
|
|
312
|
-
raise Informative, "config.json 版本太低,配置结构发生变化了,要求config_version 1.4.0及以上版本, 可以使用pindo deploy updateconfig 更新config.json"
|
|
313
|
-
end
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
def print_params_info()
|
|
317
|
-
|
|
318
|
-
puts "\n\n\n======================================================================================="
|
|
319
|
-
puts "***************************************************************************************\n\n"
|
|
320
|
-
puts "Action: #{self.class.summary} \n\n"
|
|
321
|
-
puts "config.json = #{@args_appconfig_fullname}"
|
|
322
|
-
puts "args_apple_id = #{@args_apple_id}"
|
|
323
|
-
puts "args_bundle_id = #{@args_bundle_id}\n\n"
|
|
324
|
-
|
|
325
|
-
puts "deploy_repo_name = #{@deploy_repo_name}"
|
|
326
|
-
puts "deploy_acount_id = #{@deploy_acount_id}"
|
|
327
|
-
puts "deploy_group_id = #{@deploy_group_id}"
|
|
328
|
-
puts "deploy_icloud_id = #{@deploy_icloud_id}"
|
|
329
|
-
puts "deploy_identifier = #{@deploy_identifier}"
|
|
330
|
-
puts "deploy_identifier_pushcontent = #{@deploy_identifier_pushcontent}"
|
|
331
|
-
puts "deploy_identifier_pushservice = #{@deploy_identifier_pushservice}"
|
|
332
|
-
puts "deploy_identifier_keyboard = #{@deploy_identifier_keyboard}"
|
|
333
|
-
puts "deploy_identifier_imessage = #{@deploy_identifier_imessage}"
|
|
334
|
-
puts "deploy_identifier_siri = #{@deploy_identifier_siri}"
|
|
335
|
-
puts "deploy_identifier_siriui = #{@deploy_identifier_siriui}"
|
|
336
|
-
puts "deploy_identifier_widget = #{@deploy_identifier_widget}"
|
|
337
|
-
puts "deploy_identifier_extension = #{@deploy_identifier_extension}"
|
|
338
|
-
puts "deploy_identifier_extensionad = #{@deploy_identifier_extensionad}"
|
|
339
|
-
puts "deploy_identifier_extensionporn = #{@deploy_identifier_extensionporn}"
|
|
340
|
-
puts "deploy_identifier_watchapp = #{@deploy_identifier_watchapp}"
|
|
341
|
-
puts "deploy_identifier_watchapp_extension = #{@deploy_identifier_watchapp_extension}\n\n"
|
|
342
|
-
|
|
343
|
-
puts "apple_id = #{@apple_id}"
|
|
344
|
-
puts "bundle_id = #{@bundle_id}"
|
|
345
|
-
puts "group_id = #{@group_id}"
|
|
346
|
-
puts "icloud_id = #{@icloud_id}"
|
|
347
|
-
puts "bundle_id_pushcontent = #{@bundle_id_pushcontent}"
|
|
348
|
-
puts "bundle_id_pushservice = #{@bundle_id_pushservice}"
|
|
349
|
-
puts "bundle_id_keyboard = #{@bundle_id_keyboard}"
|
|
350
|
-
puts "bundle_id_imessage = #{@bundle_id_imessage}"
|
|
351
|
-
puts "bundle_id_extension = #{@bundle_id_extension}"
|
|
352
|
-
puts "bundle_id_siri = #{@bundle_id_siri}"
|
|
353
|
-
puts "bundle_id_siriui = #{@bundle_id_siriui}"
|
|
354
|
-
puts "bundle_id_widget = #{@bundle_id_widget}"
|
|
355
|
-
puts "bundle_id_extensionad = #{@bundle_id_extensionad}"
|
|
356
|
-
puts "bundle_id_extensionporn = #{@bundle_id_extensionporn}"
|
|
357
|
-
puts "bundle_id_watchapp = #{@bundle_id_watchapp}"
|
|
358
|
-
puts "bundle_id_watchapp_extension = #{@bundle_id_watchapp_extension}\n\n"
|
|
359
|
-
|
|
360
|
-
puts "args_dev_flag = #{@args_dev_flag}"
|
|
361
|
-
puts "args_adhoc_flag = #{@args_adhoc_flag}"
|
|
362
|
-
puts "args_appstore_flag = #{@args_appstore_flag}"
|
|
363
|
-
puts "args_macos_flag = #{@args_macos_flag}"
|
|
364
|
-
|
|
365
|
-
puts "\n***************************************************************************************"
|
|
366
|
-
puts "=======================================================================================\n\n"
|
|
367
|
-
|
|
368
|
-
end
|
|
369
|
-
|
|
370
|
-
end
|
|
371
|
-
end
|
|
372
|
-
end
|