pod-pipeline 0.3.1 → 0.4.0
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 -12
- 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: f26ec379eb648b1c5291f1883d15b500ed5794abb443d709c6c0f96501749c4f
|
|
4
|
+
data.tar.gz: c426b102ac667783c857255adbf9235839bbe074c8aa0ff1445da8b2654287bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed686660941c086f9622da44f144da24aa7dfee458b9e2b9d51d2aee0c60b9d6453c0b03035f2577b132071a3300caaf4383d5012914944c2cb01b8af1afda49
|
|
7
|
+
data.tar.gz: fac91fc7862ad920a32304a0727cc6c03c5290dbac2f9752e0c4fff2de3c41bb8ac918886fc7cb12c38a32888b557d6980ddacd354350924278a63d456485261
|
|
@@ -49,6 +49,11 @@ module PPL
|
|
|
49
49
|
puts "Pod: #{@podspec}"
|
|
50
50
|
puts "Workspace: #{@workspace.path}"
|
|
51
51
|
|
|
52
|
+
if ! @configuration || !@archs
|
|
53
|
+
puts "无需构建"
|
|
54
|
+
return
|
|
55
|
+
end
|
|
56
|
+
|
|
52
57
|
#初始化 构建目录
|
|
53
58
|
reset_dir
|
|
54
59
|
|
|
@@ -90,9 +95,6 @@ module PPL
|
|
|
90
95
|
Dir.reset(@framework_path)
|
|
91
96
|
@framework_headers_path = "#{@framework_path}/Headers"
|
|
92
97
|
Dir.reset(@framework_headers_path)
|
|
93
|
-
#初始化 SDK目录
|
|
94
|
-
@sdk_path = "#{@output}/#{@podspec.name}/#{@podspec.name}SDK"
|
|
95
|
-
Dir.reset(@sdk_path)
|
|
96
98
|
end
|
|
97
99
|
|
|
98
100
|
def add_headers
|
|
@@ -186,15 +188,6 @@ module PPL
|
|
|
186
188
|
#将资源文件夹命名为 .bundle 格式
|
|
187
189
|
`mv "#{bundle_path}" "#{bundle_path}.bundle"`
|
|
188
190
|
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
191
|
end
|
|
199
192
|
end
|
|
200
193
|
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.0
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods-core
|