cocoapods-modularization 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a12f097e7b31fe8e67d928e874b47ccabba091ee0eb8deb5b57623510074f0
|
4
|
+
data.tar.gz: a0712ffad6e90f6d741a4b32debbbe19eedc6500c0a85ea21169e8b310fe6a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 410f0076ede68f37d65afa8dd42488fbd5ebeb2c320853f5fffdf745a3430706bc026a838f5a32ea185cf9b41587b42e005094153cc4966598c5f6a43683d9d3
|
7
|
+
data.tar.gz: 0bb7c87a0eba0a5431cdf7aae9983c24d2ddc8bee4d73a244cefac49ab72dbc0c64bcb8715ba00566f5caf851c06a0ea35f3c494a7e8ab1314f126ac6f85728a
|
@@ -47,7 +47,7 @@ module Pod
|
|
47
47
|
FileUtils.rm_rf("#{Private::PrivateCache.root_path}/Repo")
|
48
48
|
end
|
49
49
|
|
50
|
-
system_build("/usr/bin/git clone #{repo_url} #{Private::PrivateCache.root_path}/Repo -b
|
50
|
+
system_build("/usr/bin/git clone #{repo_url} #{Private::PrivateCache.root_path}/Repo -b main --single-branch --depth 1")
|
51
51
|
|
52
52
|
# 遍历文件夹
|
53
53
|
max_version = Dir.glob("#{Private::PrivateCache.root_path}/Repo/#{@name}/*").map { |e| Gem::Version.new(e.match(/\d{1,2}\.\d{1,2}\.\d{1,2}/).to_s) }.max.to_s
|
@@ -60,8 +60,7 @@ module Pod
|
|
60
60
|
output = `#{command}`.lines.to_a
|
61
61
|
|
62
62
|
if $?.exitstatus != 0
|
63
|
-
|
64
|
-
Process.exit
|
63
|
+
puts "command: #{command}, output: #{output}"
|
65
64
|
end
|
66
65
|
end
|
67
66
|
end
|