cocoapods-tdf-bin 0.0.40 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 006f9b3a52e48d3096368d6c9118008b1880836846591de7fe6d6a8890f9185b
|
4
|
+
data.tar.gz: 52dc8a2f4c98758a002a97724429dc4e00d3f259ea25bed1c8f284d9821f15eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35850d78ec7f26aaec25a6aa80ba267531f3d6afdcb6e0ee7aeb399dd5ddcca7e5a76ac8959cb68292bd1656d225777e2ebc217225d3b4076747b2f2a3213734
|
7
|
+
data.tar.gz: 2efefd3872bf104b49114f3998059c9a8a29a46f5933929268dcb61213249caba0790db24f6c88c2166c346a2b57dab8d3c51d206dca4611ce6be45b650bbb8e
|
data/README.md
CHANGED
@@ -101,12 +101,7 @@ set_use_source_pods [
|
|
101
101
|
|
102
102
|
#### 5. 使用 batch 命令
|
103
103
|
```ruby
|
104
|
-
|
105
|
-
"TDFSunKitchenModule",
|
106
|
-
"TDFRetailStock",
|
107
|
-
], "本地路径"
|
108
|
-
|
109
|
-
batch_pod_remote [
|
104
|
+
pods [
|
110
105
|
"TDFSunKitchenModule",
|
111
106
|
"TDFRetailStock",
|
112
107
|
], "分支名"
|
@@ -71,7 +71,7 @@ module Pod
|
|
71
71
|
if !@only_build
|
72
72
|
source_specs.uniq.each do |spec|
|
73
73
|
begin
|
74
|
-
fail_push_specs << spec unless CBin::Upload::Helper.new(spec, @code_dependencies, @sources).upload
|
74
|
+
fail_push_specs << spec unless CBin::Upload::Helper.new(spec, @code_dependencies, @sources, @verbose).upload
|
75
75
|
rescue Object => exception
|
76
76
|
UI.puts exception
|
77
77
|
fail_push_specs << spec
|
@@ -104,7 +104,6 @@ module Pod
|
|
104
104
|
end
|
105
105
|
|
106
106
|
#制作二进制包
|
107
|
-
|
108
107
|
def run_archive
|
109
108
|
argvs = [
|
110
109
|
"--sources=#{sources_option(@code_dependencies, @sources)}",
|
@@ -32,11 +32,15 @@ module Pod
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def run
|
35
|
-
|
36
35
|
if @arguments.size == 2 && @arguments[0] == "find"
|
37
36
|
res = Batch.find_repo_with_pods(@arguments[1])
|
38
|
-
|
39
|
-
|
37
|
+
if res.is_a? Array
|
38
|
+
puts res.join(",")
|
39
|
+
return
|
40
|
+
else
|
41
|
+
puts res
|
42
|
+
return
|
43
|
+
end
|
40
44
|
end
|
41
45
|
|
42
46
|
podfile = File.join(Pathname.pwd, "Podfile")
|
@@ -16,10 +16,11 @@ module CBin
|
|
16
16
|
class Helper
|
17
17
|
include CBin::SourcesHelper
|
18
18
|
|
19
|
-
def initialize(spec,code_dependencies,sources)
|
19
|
+
def initialize(spec, code_dependencies, sources, verbose)
|
20
20
|
@spec = spec
|
21
21
|
@code_dependencies = code_dependencies
|
22
22
|
@sources = sources
|
23
|
+
@verbose = verbose
|
23
24
|
end
|
24
25
|
|
25
26
|
def upload
|
@@ -68,17 +69,18 @@ EOF
|
|
68
69
|
def push_binary_repo(binary_podsepc_json)
|
69
70
|
argvs = [
|
70
71
|
"#{binary_podsepc_json}",
|
71
|
-
|
72
|
+
"--binary",
|
72
73
|
"--sources=#{sources_option(@code_dependencies, @sources)}",
|
73
74
|
"--skip-import-validation",
|
74
75
|
"--use-libraries",
|
75
76
|
"--allow-warnings",
|
76
|
-
"--code-dependencies"
|
77
|
+
"--code-dependencies",
|
77
78
|
]
|
78
79
|
if @verbose
|
79
80
|
argvs += ['--verbose']
|
80
81
|
end
|
81
82
|
|
83
|
+
puts "开始上传【#{binary_podsepc_json}】组件:#{argvs}"
|
82
84
|
push = Pod::Command::Bin::Repo::Push.new(CLAide::ARGV.new(argvs))
|
83
85
|
push.validate!
|
84
86
|
push.run
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-tdf-bin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gaijiaofan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|