luna-binary-uploader 0.1.26 → 0.1.27

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34ab8b047090d75fa5271d54235b4d41606bb096480e096a9f15107b4f736e1f
4
- data.tar.gz: f41390fd6a5b7aa8015d192baf5c116a3de0e2963cce0eda7c469f6ca1d2c403
3
+ metadata.gz: 8d82cb8d19a758ce10bbc1e041007ad1129ba05c311136fa39358308789a6706
4
+ data.tar.gz: 7acd5370930255908fa14f29a2e7a27c1f962e40345915474c6a210f76e4a1c9
5
5
  SHA512:
6
- metadata.gz: 61a5cf56fb25d762b0ebcbc959e1cae3647702af35be552b3a3ece517c6aa5d3a85b20843cfde44d208bf50076c4901132da2a1582d9e492edbfa127c861a171
7
- data.tar.gz: bf0bea03b4437d83c7b5431e574c1e8bf694837c9d4220a714dd02a099983c3907c14f355f9475a61314eaef57718429793764ce15b2b6df8c81e3af0578d49e
6
+ metadata.gz: 9d906932b2544ab48160d66069dea3339409d5d5138d700b59e43ec337aafe2a8ecb06bf74440823362623f9324ffd8058ebb8387a8208295395ef9df1f7f9d6
7
+ data.tar.gz: ca73cbe2fcefc41e2a79da6840f37042e4d8ec7432bc49119f560b5590d45ca3a15c61e99c98dba0b956efc2027b6de6c018ed4f970424d318870afaab98eebc
data/bin/lbu CHANGED
@@ -192,6 +192,7 @@ 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
197
  if options[:no]
197
198
  update = Luna::Binary::Update.new()
@@ -207,6 +208,9 @@ class App
207
208
  build = Luna::Binary::Build.new()
208
209
  build.workspace=args[0]
209
210
  build.scheme=args[1]
211
+ if options[:quick]
212
+ build.needPodInstall = false
213
+ end
210
214
  if build.run
211
215
  update = Luna::Binary::Update.new()
212
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,9 @@ module Luna
25
26
 
26
27
  def createFrameworks
27
28
  isNext = true
28
- puts "请将二进制开关关闭,确保每个模块都是源码运行,因为二进制的因素有可能source缓存还是会引入二进制".yellow
29
- Install.new(false)
29
+ if needPodInstall
30
+ Install.new(false)
31
+ end
30
32
  Common.instance.deleteDirectory(binary_path_arm)
31
33
  tempLunaUploaderPath = Common.instance.tempLunaUploaderPath
32
34
  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.26"
4
+ VERSION = "0.1.27"
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.26
4
+ version: 0.1.27
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-21 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: []