luna-binary-uploader 0.1.25 → 0.1.28

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: 69f6dde43552f8b6f3c016abed8c0efe2df08f975afebd16d5d15786059564b7
4
- data.tar.gz: 449f282e177e6d6125dde7672ad3cdf1b34e114cefc32b0f6e3f9bc417629558
3
+ metadata.gz: 45853ba48b0aa5f5cde7067af6b0bd50edd73cdaac1e106cc1debe9138835359
4
+ data.tar.gz: e8c4b4d7d5de2a9b1fbff0ad26fb0defc8c8690fa5dee16b1dfbc8330259e0b2
5
5
  SHA512:
6
- metadata.gz: 9b28579c5ffa2121188c4f96b9dd6a660cf4a4948ce5b500556d82e5650a39e1c8c7a14b1da7d5b6086a438780ab61d11271fd43d7d45474495f8af1929544a2
7
- data.tar.gz: 6bfba261965ef5bc34e54746fc1c45e34e4d86aee2c83eccbf7d49701148d29519671d84f1656ed860e2d695ed639dd559f111b33abf51e831e1fb87c34131a2
6
+ metadata.gz: 27f20c71f0a9a7fcadbb078b5350e597f0650a82592821909c8909ebd84e80e89ae68c370de4c98e6a042f667044f9e6372efdb0fa474494619f3094d4a7e670
7
+ data.tar.gz: a19faa54718112f9d9eaa70bc8a1c3870b34f6d96e1e9a373b2ff12a6d38408261e71f32e90174eed56aea01de481c084cf11eecb6c4aa86b2630969ba1b9a23
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- luna-binary-uploader (0.1.25)
4
+ luna-binary-uploader (0.1.26)
5
5
  cocoapods
6
6
  cocoapods-generate (~> 2.0.1)
7
7
  cocoapods-imy-bin (= 0.3.1.3)
data/bin/lbu CHANGED
@@ -192,11 +192,15 @@ class App
192
192
  command :publish do |c|
193
193
  c.desc '是否需要build, 不需要的话 -n or --no'
194
194
  c.switch [:n,:no]
195
+ c.switch [:q,:quick]
195
196
  c.action do |global_options,options,args|
196
- help_now!('args is required') if args.empty?
197
197
  if options[:no]
198
198
  update = Luna::Binary::Update.new()
199
- update.binary_path = Luna::Binary::Common.instance.binary_path_merged
199
+ if args[0] != nil
200
+ update.binary_path = args[0]
201
+ else
202
+ update.binary_path = Luna::Binary::Common.instance.binary_path_merged
203
+ end
200
204
  update.run
201
205
  else
202
206
  help_now!('workspace is required') if args[0] == nil
@@ -204,6 +208,9 @@ class App
204
208
  build = Luna::Binary::Build.new()
205
209
  build.workspace=args[0]
206
210
  build.scheme=args[1]
211
+ if options[:quick]
212
+ build.needPodInstall = false
213
+ end
207
214
  if build.run
208
215
  update = Luna::Binary::Update.new()
209
216
  update.binary_path = Luna::Binary::Common.instance.binary_path_merged
@@ -11,8 +11,9 @@ module Luna
11
11
  class Build
12
12
  attr_accessor :workspace
13
13
  attr_accessor :scheme
14
+ attr_accessor :needPodInstall
14
15
  def initialize
15
-
16
+ needPodInstall = true
16
17
  end
17
18
 
18
19
  def run
@@ -25,8 +26,12 @@ module Luna
25
26
 
26
27
  def createFrameworks
27
28
  isNext = true
28
- puts "请将二进制开关关闭,确保每个模块都是源码运行,因为二进制的因素有可能source缓存还是会引入二进制".yellow
29
- Install.new(false)
29
+ if needPodInstall
30
+ puts "强制使用源码重新pod install".yellow
31
+ Install.new(false)
32
+ else
33
+ puts "跳过重新pod install的步骤".yellow
34
+ end
30
35
  Common.instance.deleteDirectory(binary_path_arm)
31
36
  tempLunaUploaderPath = Common.instance.tempLunaUploaderPath
32
37
  isNext = command("xcodebuild -workspace #{workspace} -scheme #{scheme} -configuration Debug -derivedDataPath '#{tempLunaUploaderPath}/build/arm/temp'") if isNext == true
@@ -1,7 +1,7 @@
1
1
  module Luna
2
2
  module Binary
3
3
  module Uploader
4
- VERSION = "0.1.25"
4
+ VERSION = "0.1.28"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luna-binary-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - 车德超
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -158,7 +158,7 @@ homepage: https://github.com/YoudaoMobile/luna-binary-uploader
158
158
  licenses:
159
159
  - MIT
160
160
  metadata: {}
161
- post_install_message:
161
+ post_install_message:
162
162
  rdoc_options: []
163
163
  require_paths:
164
164
  - lib
@@ -173,8 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  requirements: []
176
- rubygems_version: 3.1.4
177
- signing_key:
176
+ rubygems_version: 3.2.5
177
+ signing_key:
178
178
  specification_version: 4
179
179
  summary: 词典上传二进制控件
180
180
  test_files: []