luna-binary-uploader 0.1.18 → 0.1.19
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/bin/lbu +15 -4
- data/lib/luna/binary/build.rb +1 -3
- data/lib/luna/binary/uploader/version.rb +1 -1
- 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: d54b08da3ecda037f4a5f1aa25e67c35acbafe5cce340f63dc5f6bd0cda7fba9
|
|
4
|
+
data.tar.gz: be02803fced8ac0fd75cb06f00df2a87be32e3e7ad707b4f32f1c6ee24995091
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80dc36ef3a07ce52fcdc8e3ced23694281d2decd69d7d32a352922595a54c3101997eca0de3c0d56de0a4306ffa6b97ae69a921da0be605c2893b47fb53e461d
|
|
7
|
+
data.tar.gz: 4c3360583f7a317f6fdda7b143ed57b78d584ff18e7815153579add4ba443b79c08cae8601af1bb5500c84c9204039c94023fe85ebdd25b6f7d85b87d769cad7
|
data/bin/lbu
CHANGED
|
@@ -21,7 +21,7 @@ require 'gli'
|
|
|
21
21
|
class App
|
|
22
22
|
extend GLI::App
|
|
23
23
|
|
|
24
|
-
program_desc 'luna
|
|
24
|
+
program_desc 'luna-binary-uploader 自定义二进制上传'
|
|
25
25
|
|
|
26
26
|
version Luna::Binary::Uploader::VERSION
|
|
27
27
|
|
|
@@ -84,7 +84,7 @@ class App
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
desc '单个上传二进制文件'
|
|
87
|
-
arg_name '
|
|
87
|
+
arg_name 'a.模块名 git地址 git节点 xcode编译的缓存地址 \n b.模块名 版本号 xcode编译的缓存地址 \n c.模块名 本地podspec地址 xcode编译的缓存地址'
|
|
88
88
|
command :single do |c|
|
|
89
89
|
c.action do |global_options,options,args|
|
|
90
90
|
if args[3] #模式1
|
|
@@ -123,10 +123,14 @@ class App
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
desc '单个删除repo 里的podspec & 服务二进制文件'
|
|
126
|
-
arg_name '
|
|
126
|
+
arg_name '1.模块名 2.版本号'
|
|
127
127
|
command :del do |c|
|
|
128
128
|
c.action do |global_options,options,args|
|
|
129
|
-
|
|
129
|
+
if args[0] && args[1]
|
|
130
|
+
Luna::Binary::Delete.new(args[0],args[1]).delete
|
|
131
|
+
else
|
|
132
|
+
raise "缺少参数:1.模块名 2.版本号"
|
|
133
|
+
end
|
|
130
134
|
end
|
|
131
135
|
end
|
|
132
136
|
|
|
@@ -177,10 +181,13 @@ class App
|
|
|
177
181
|
arg_name '1.xcworkspace 名称 eg:MyWorkSpace.xcworkspace 2.scheme eg: MyProject'
|
|
178
182
|
command :build do |c|
|
|
179
183
|
c.action do |global_options,options,args|
|
|
184
|
+
if args[0] && args[1]
|
|
180
185
|
obj = Luna::Binary::Build.new()
|
|
181
186
|
obj.workspace=args[0]
|
|
182
187
|
obj.scheme=args[1]
|
|
183
188
|
obj.run
|
|
189
|
+
else
|
|
190
|
+
raise "缺少参数:1.xcworkspace 名称 eg:MyWorkSpace.xcworkspace 2.scheme eg: MyProject"
|
|
184
191
|
end
|
|
185
192
|
end
|
|
186
193
|
|
|
@@ -188,8 +195,12 @@ class App
|
|
|
188
195
|
arg_name '1.armPath 2.x86path'
|
|
189
196
|
command :merge do |c|
|
|
190
197
|
c.action do |global_options,options,args|
|
|
198
|
+
if args[0] && args[1]
|
|
191
199
|
obj = Luna::Binary::Build.new()
|
|
192
200
|
obj.mergeFrameWorks(args[0], args[1])
|
|
201
|
+
else
|
|
202
|
+
raise "缺少参数:1.armPath 2.x86path"
|
|
203
|
+
end
|
|
193
204
|
end
|
|
194
205
|
end
|
|
195
206
|
|
data/lib/luna/binary/build.rb
CHANGED
|
@@ -26,9 +26,7 @@ module Luna
|
|
|
26
26
|
def createFrameworks
|
|
27
27
|
isNext = true
|
|
28
28
|
puts "请将二进制开关关闭,确保每个模块都是源码运行,因为二进制的因素有可能source缓存还是会引入二进制".yellow
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
isNext = command("pod install")
|
|
29
|
+
Install.new(false)
|
|
32
30
|
Common.instance.deleteDirectory(binary_path_arm)
|
|
33
31
|
tempLunaUploaderPath = Common.instance.tempLunaUploaderPath
|
|
34
32
|
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.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 车德超
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-10-
|
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|