pod-pipeline 0.3.1 → 0.4.2
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/pod-pipeline/command/build.rb +5 -16
- data/lib/pod-pipeline/command/publish.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e064b08fce2d112de7f132815ddd4bb6aa8f46e77dd08e2668a55ed32457a44
|
|
4
|
+
data.tar.gz: ba58fd7869e913eccc0bb462b61ed6506f7618ba83ba15c7a715c7ff422943ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cdd6848d40920cc67c19496eb506badf5a30dd1ae1ba4f70ad7a11cbb9640c5f8c42d7eaa974ccb23dfc89d71a607498f45bdccd2c2cb6b07770b9fcfba43e55
|
|
7
|
+
data.tar.gz: c7755c0b4070ba5d3b5cbf49ed32b156a13e8b0616e0fbd651000877c6a2b88c0031ccb0602dc3b5a17523ff71499b50ac66b0d596e390e980766afcc6b10cf2
|
|
@@ -49,6 +49,11 @@ module PPL
|
|
|
49
49
|
puts "Pod: #{@podspec}"
|
|
50
50
|
puts "Workspace: #{@workspace.path}"
|
|
51
51
|
|
|
52
|
+
if !@archs
|
|
53
|
+
puts "无需构建"
|
|
54
|
+
return
|
|
55
|
+
end
|
|
56
|
+
|
|
52
57
|
#初始化 构建目录
|
|
53
58
|
reset_dir
|
|
54
59
|
|
|
@@ -75,10 +80,6 @@ module PPL
|
|
|
75
80
|
puts "\n[合并的资源包内容 到 #{@bundle_merge}.bundle]"
|
|
76
81
|
merge_bundles
|
|
77
82
|
end
|
|
78
|
-
|
|
79
|
-
#拷贝构建内容到Pod目录
|
|
80
|
-
puts "\n[拷贝内容到Pod目录]"
|
|
81
|
-
copy_pod
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
def reset_dir
|
|
@@ -90,9 +91,6 @@ module PPL
|
|
|
90
91
|
Dir.reset(@framework_path)
|
|
91
92
|
@framework_headers_path = "#{@framework_path}/Headers"
|
|
92
93
|
Dir.reset(@framework_headers_path)
|
|
93
|
-
#初始化 SDK目录
|
|
94
|
-
@sdk_path = "#{@output}/#{@podspec.name}/#{@podspec.name}SDK"
|
|
95
|
-
Dir.reset(@sdk_path)
|
|
96
94
|
end
|
|
97
95
|
|
|
98
96
|
def add_headers
|
|
@@ -186,15 +184,6 @@ module PPL
|
|
|
186
184
|
#将资源文件夹命名为 .bundle 格式
|
|
187
185
|
`mv "#{bundle_path}" "#{bundle_path}.bundle"`
|
|
188
186
|
end
|
|
189
|
-
|
|
190
|
-
def copy_pod
|
|
191
|
-
Dir["#{@framework_path}"].each do |framework|
|
|
192
|
-
`cp -fr "#{framework}" "#{@sdk_path}"`
|
|
193
|
-
end
|
|
194
|
-
Dir["#{@build_path}/*.bundle"].each do |bundle|
|
|
195
|
-
`cp -fr "#{bundle}" "#{@sdk_path}"`
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
187
|
end
|
|
199
188
|
end
|
|
200
189
|
end
|
|
@@ -27,7 +27,6 @@ module PPL
|
|
|
27
27
|
|
|
28
28
|
def self.options_extension_hash
|
|
29
29
|
Hash[
|
|
30
|
-
'build' => PPL::Command::Build.options,
|
|
31
30
|
'update' => PPL::Command::Update.options,
|
|
32
31
|
'trunk-push' => Pod::Command::Trunk::Push.options,
|
|
33
32
|
'repo-push' => Pod::Command::Repo::Push.options
|
|
@@ -49,7 +48,6 @@ module PPL
|
|
|
49
48
|
end
|
|
50
49
|
|
|
51
50
|
def run
|
|
52
|
-
PPL::Command::Build.run([@projectPath] + argv_extension['build'])
|
|
53
51
|
PPL::Command::Update.run([@projectPath] + argv_extension['update'])
|
|
54
52
|
|
|
55
53
|
PPL::Scanner.new(@projectPath, ['pod']).run
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pod-pipeline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 郑贤达
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods-core
|