pod-pipeline 0.3.1 → 0.4.2

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: 94c49b42afbe57bb5284c56fde0a103898ea785595622dae5a0ab65eccffce81
4
- data.tar.gz: e8063ca4903f91fbcfc7883237083e0ebe2c707d7ec147507566969cfb9042fe
3
+ metadata.gz: 5e064b08fce2d112de7f132815ddd4bb6aa8f46e77dd08e2668a55ed32457a44
4
+ data.tar.gz: ba58fd7869e913eccc0bb462b61ed6506f7618ba83ba15c7a715c7ff422943ba
5
5
  SHA512:
6
- metadata.gz: 5af5861c2294e622c5481d32bcf1725fabc1c8ad7106da39060f1202e8df98783ae6971edb0a9d665f274fcf183d1941038c5f1acbf25e93b76f63c6be640b94
7
- data.tar.gz: a4cdf1fe98d61ee0bf1e993642bd972174e43b00d8cfcf1e66e5a8f3717d11d4986205ed9a84c80411efc810fc98963a289986e37f7dc69a451bff8e403edf4c
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.3.1
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-06-09 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods-core