luna-binary-uploader 0.1.25 → 0.1.28
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/Gemfile.lock +1 -1
- data/bin/lbu +9 -2
- data/lib/luna/binary/build.rb +8 -3
- data/lib/luna/binary/uploader/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45853ba48b0aa5f5cde7067af6b0bd50edd73cdaac1e106cc1debe9138835359
|
|
4
|
+
data.tar.gz: e8c4b4d7d5de2a9b1fbff0ad26fb0defc8c8690fa5dee16b1dfbc8330259e0b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27f20c71f0a9a7fcadbb078b5350e597f0650a82592821909c8909ebd84e80e89ae68c370de4c98e6a042f667044f9e6372efdb0fa474494619f3094d4a7e670
|
|
7
|
+
data.tar.gz: a19faa54718112f9d9eaa70bc8a1c3870b34f6d96e1e9a373b2ff12a6d38408261e71f32e90174eed56aea01de481c084cf11eecb6c4aa86b2630969ba1b9a23
|
data/Gemfile.lock
CHANGED
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
|
-
|
|
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
|
data/lib/luna/binary/build.rb
CHANGED
|
@@ -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
|
-
|
|
29
|
-
|
|
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
|
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.
|
|
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:
|
|
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.
|
|
177
|
-
signing_key:
|
|
176
|
+
rubygems_version: 3.2.5
|
|
177
|
+
signing_key:
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: 词典上传二进制控件
|
|
180
180
|
test_files: []
|