luna-binary-uploader 0.1.12 → 0.1.13
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/lib/luna/binary/build.rb +3 -1
- 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: 608a62aecb8dd5d6cf698087cee24847b10617e1240aca9a6437172022b9e9ad
|
4
|
+
data.tar.gz: 513795f19904b0084ccc51adf8ef93e771197d8e9118b05e0f2df536828e8ccc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bef91e202cad493b558e187764bfa65d035ee5338f75b85bc7728474285d5b664a3fbf9802cd2a6b6c9ace2a447bf077963c65fc29d5624df170ad2287041d1
|
7
|
+
data.tar.gz: c7ca273c584f1507e4c75ba5c71d84fe7f20ff073c26e286d638e4dc38b35d69ab9201ef9512e9a18ce261ccb786bf37ef4b26e113db12b2f8dd1d0d16accc99
|
data/lib/luna/binary/build.rb
CHANGED
@@ -27,6 +27,7 @@ module Luna
|
|
27
27
|
isNext = true
|
28
28
|
Pod::UserInterface.puts "请将二进制开关关闭,确保每个模块都是源码运行,因为二进制的因素有可能source缓存还是会引入二进制".yellow
|
29
29
|
command("rm -rf #{Dir.pwd}/Pods")
|
30
|
+
|
30
31
|
isNext = command("pod install")
|
31
32
|
Luna::Binary::Common.instance.deleteDirectory(binary_path_arm)
|
32
33
|
tempLunaUploaderPath = Luna::Binary::Common.instance.tempLunaUploaderPath
|
@@ -74,7 +75,8 @@ module Luna
|
|
74
75
|
|
75
76
|
def mergeFrameWork(moduleName, path1, path2)
|
76
77
|
command("mkdir -p #{binary_path_merged}; cp -r #{File.dirname(path1)} #{binary_path_merged}; mv #{binary_path_merged}/#{File.basename(File.dirname(path1))} #{binary_path_merged}/#{moduleName};")
|
77
|
-
|
78
|
+
command("lipo -create #{path2}/#{moduleName} #{path1}/#{moduleName} -output #{binary_path_merged}/#{moduleName}/#{moduleName}.framework/#{moduleName}")
|
79
|
+
command("cp -r #{path2}/Modules/#{moduleName}.swiftmodule #{binary_path_merged}/#{moduleName}/#{moduleName}.framework/Modules")
|
78
80
|
end
|
79
81
|
|
80
82
|
def findFramework(moduleName, binary_path)
|
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.13
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|