cocoapods-vemars 0.0.5 → 0.0.6
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 503b86605e7ed3937976076c9e1d6bd3089631f7bd8840e669a2fb583be2f158
|
4
|
+
data.tar.gz: 7715fb8c8817e21b10e7198be4df9e6a367ab56b5e0c013d2b4811e932207ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b157fdf9b702ffc70fe634a68685db0e276fa70c1b3cdfd50f10f8bdecdf189438c9571e949dd2dd911d2c5ca64462527ebdb2841a5673c338c4989112884f
|
7
|
+
data.tar.gz: 7e56f1593607cb17e568ce11389d808ec2e6144afa8d56209734cd68a719a16326802508d486406f75e741e7a2de94a2fe52cd583c77f0905fdbd00cb2de6da6
|
data/Gemfile.lock
CHANGED
@@ -85,7 +85,7 @@ module Pod
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def collect_components
|
88
|
-
components_api = Components_api.new(@basicInfo.version
|
88
|
+
components_api = Components_api.new(@basicInfo.version,@service_url)
|
89
89
|
all_components = components_api.getComponents
|
90
90
|
@source = components_api.source
|
91
91
|
@selected_components.each do |com|
|
@@ -23,7 +23,9 @@ module Pod
|
|
23
23
|
['--bundle_id=bundle_id', 'the bundle_id from Vemars'],
|
24
24
|
['--com=COM1,COM2', 'Selected components in vemars.'],
|
25
25
|
['--config=CONFIG_PATH', 'config path of vemars.'],
|
26
|
-
['--service_url=SERVICE_URL', 'url of vemars CLI service.']
|
26
|
+
['--service_url=SERVICE_URL', 'url of vemars CLI service.'],
|
27
|
+
['--git=GIT_URL', 'git url of demo repo'],
|
28
|
+
['--pod_repo_no_update', 'do not run pod repo update']
|
27
29
|
]
|
28
30
|
options.concat(super.reject { |option, _| option == '--silent' })
|
29
31
|
end
|
@@ -32,14 +34,15 @@ module Pod
|
|
32
34
|
@name = argv.shift_argument
|
33
35
|
@version = argv.shift_argument
|
34
36
|
@language = argv.option('language', 'objc')
|
35
|
-
git_url = argv.option('git', '
|
37
|
+
git_url = argv.option('git', 'https://github.com/volcengine/ve_Template_iOS.git')
|
36
38
|
@silent = argv.flag?('silent', false)
|
39
|
+
@repo_no_update = argv.flag?('pod_repo_no_update',false)
|
37
40
|
@appkey = argv.option('appkey', '')
|
38
41
|
@bundle_id = argv.option('bundle_id', nil)
|
39
42
|
@selected_components = argv.option('com', "").split(',')
|
40
43
|
@config_json = argv.option('config', '/onekit-config.json')
|
41
44
|
service_url = argv.option('service_url',nil)
|
42
|
-
@project = VemarsProject.new(@appkey, @selected_components, @config_json, @version, @bundle_id, @name, @language, git_url
|
45
|
+
@project = VemarsProject.new(@appkey, @selected_components, @config_json, @version, @bundle_id, @name, @language, git_url,service_url)
|
43
46
|
super
|
44
47
|
@additional_args = argv.remainder!
|
45
48
|
end
|
@@ -81,7 +84,12 @@ module Pod
|
|
81
84
|
Dir.chdir(project_dir) do
|
82
85
|
# system('bundle install')
|
83
86
|
# system('bundle exec pod install --repo-update')
|
84
|
-
|
87
|
+
if @repo_no_update
|
88
|
+
puts "Pod install skipped!"
|
89
|
+
system('pod install --no-repo-update')
|
90
|
+
else
|
91
|
+
system('pod install --repo-update')
|
92
|
+
end
|
85
93
|
end
|
86
94
|
end
|
87
95
|
|
@@ -19,9 +19,10 @@ module Pod
|
|
19
19
|
options = [
|
20
20
|
['--path=PODFILE_PATH', 'the /path/to/Dir_contains_Podfile'],
|
21
21
|
['--com=COM1,COM2', 'Selected components in vemars.'],
|
22
|
-
['--silent', 'do not run pod install'],
|
23
22
|
['--config=CONFIG_PATH', 'config path of vemars.'],
|
24
|
-
['--service_url=SERVICE_URL', 'url of vemars CLI service.']
|
23
|
+
['--service_url=SERVICE_URL', 'url of vemars CLI service.'],
|
24
|
+
['--git=GIT_URL', 'git url of demo repo'],
|
25
|
+
['--pod_repo_no_update', 'do not run pod repo update']
|
25
26
|
]
|
26
27
|
options.concat(super.reject { |option, _| option == '--silent' })
|
27
28
|
end
|
@@ -31,11 +32,12 @@ module Pod
|
|
31
32
|
@path = argv.option('path', '')
|
32
33
|
@selected_components = argv.option('com', '').split(',')
|
33
34
|
@config_json = argv.option('config', '/onekit-config.json')
|
34
|
-
|
35
|
-
@additional_args = argv.remainder!
|
35
|
+
@repo_no_update = argv.flag?('pod_repo_no_update',false)
|
36
36
|
git_url = argv.option('git', 'git@github.com:volcengine/ve_Template_iOS.git')
|
37
37
|
service_url = argv.option('service_url',nil)
|
38
38
|
@project = VemarsProject.new(@appkey, @selected_components, @config_json, @baseline, git_url, service_url)
|
39
|
+
super
|
40
|
+
@additional_args = argv.remainder!
|
39
41
|
end
|
40
42
|
|
41
43
|
def validate!
|
@@ -67,7 +69,12 @@ module Pod
|
|
67
69
|
Dir.chdir(project_dir) do
|
68
70
|
# system('bundle install')
|
69
71
|
# system('bundle exec pod install --repo-update')
|
70
|
-
|
72
|
+
if @repo_no_update
|
73
|
+
puts "pod install with no repo update"
|
74
|
+
system('pod install --no-repo-update')
|
75
|
+
else
|
76
|
+
system('pod install --repo-update')
|
77
|
+
end
|
71
78
|
end
|
72
79
|
end
|
73
80
|
|