luna-binary-uploader 0.1.9 → 0.1.14

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: 1a03d35e87f54eca095c221a1535e39d2319c1884a6ffbc1ea806129adc19dcb
4
- data.tar.gz: 67f72c5ce3ab92944e6ec00a980bb2beb3ce23cd2666080de36cc4224a58dd40
3
+ metadata.gz: bddd612b23e7bfb6de168bf2f9abc6556b14137dafee7ff73a3e2cf928e6ee97
4
+ data.tar.gz: c589fc08aeef2efe372393fdfe118f88da5b74a436861787e6726c1285f527a7
5
5
  SHA512:
6
- metadata.gz: 44719841721dadc7c2a5184dd7d2a98db3dbf8a1425670eb8858054f9b798231730a682df9f57429c1c310db08ae11702cd4bc18cf1125146a528f50578d20f3
7
- data.tar.gz: 2b7c868e1a058c008d7be8188eb20416485814a311d556c1773ae6f4c6e81b9f413542b033de9c8028e3f8ec4250e65bfcd2c882ab95bd6daa2cbe495e41ed02
6
+ metadata.gz: add61c85f81622de9dd2de34e5ed45ebd4e2211a614e33243fc8d636671d55e7815da1048d5f035282142d3fad04cdd8c2a61480fe5419031ad09e3b68df6b8d
7
+ data.tar.gz: 0ab602dd51b43f73063d98623b004722fb3b68cb5db67169a8781152e5995444e606f589e9826270f1f637ec4aaec840ca8eab11047bde46f8e046671b9c434a
data/.gitignore CHANGED
@@ -6,4 +6,9 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- Gemfile.lock
9
+ Gemfile.lock
10
+ Podfile
11
+ Podfile.lock
12
+ temp-luna-uploader/
13
+ vendor/
14
+ Embed/
@@ -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
- return command("lipo -create #{path2}/#{moduleName} #{path1}/#{moduleName} -output #{binary_path_merged}/#{moduleName}/#{moduleName}.framework/#{moduleName}")
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)
@@ -27,6 +27,7 @@ module Luna
27
27
  end
28
28
  }
29
29
  if repoPath == nil
30
+ p '没找到repo路径'
30
31
  raise '没找到repo路径'
31
32
  end
32
33
  return repoPath
@@ -21,8 +21,8 @@ module Luna
21
21
  if pathArr != nil
22
22
  Pod::UserInterface.puts "#{pathArr.first} #{k}".yellow
23
23
  srcPath = File.dirname(pathArr.first)
24
- File.rename(srcPath, "#{rootPath}/#{k}")
25
- system "cp -r #{srcPath} #{rootPath}; "
24
+ system "cp -r #{srcPath} #{rootPath};"
25
+ File.rename("#{rootPath}/#{File.basename(srcPath)}", "#{rootPath}/#{k}")
26
26
  zipCommand = "cd #{rootPath};zip -r #{k}.zip #{k}"
27
27
  p zipCommand
28
28
  system zipCommand
@@ -41,7 +41,7 @@ module Luna
41
41
  uploader = Luna::Binary::Uploader::SingleUploader.new(moduleName, "", "", binary_path)
42
42
  uploader.specification=Pod::Specification.from_file(pathArr.first)
43
43
  uploader.specificationWork
44
- localPathMapper[moduleName] = pathArr.first
44
+ successList<<uploader
45
45
  end
46
46
 
47
47
  elsif gitURL && tag && !moduleName["/"]
@@ -75,6 +75,7 @@ module Luna
75
75
  }
76
76
 
77
77
  successList.each { |item|
78
+ Pod::UserInterface.puts "#{item} 制作中".yellow
78
79
  item.upload
79
80
  }
80
81
  p "exception:#{failList}"
@@ -1,7 +1,7 @@
1
1
  module Luna
2
2
  module Binary
3
3
  module Uploader
4
- VERSION = "0.1.9"
4
+ VERSION = "0.1.14"
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.9
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - 车德超
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2021-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake