easyci 0.8.0 → 1.0.0
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/easyci/command/unitydraw.rb +6 -4
- data/lib/easyci/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8e89dcb3f96a53e3a5fb571a268713ff29ea0b56d02d06d2693ba20143d62df
|
4
|
+
data.tar.gz: 17892fa3ce5c06613f39148ccc7757efff4756b6f1a5914960a94395b9b52756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8961ec3bbc05aea9ec30b9018789049fe579ab32209244f8d6a0acc53cd58ead49936a183adc2e68efc16b495c41a2a21f899d37d68ed4ade8f3b9c188fe9d0d
|
7
|
+
data.tar.gz: 9fb54a4858a391693f276074ffb207bf3e5ccdc19bd2717fbf665cdd29e27c7afffdab222e14ea14c2cea202a23d3b5878357efbc082a34b30659021e4b8fe42
|
@@ -66,6 +66,7 @@ module EasyCI
|
|
66
66
|
if File.exist?(resources_dir)
|
67
67
|
FileUtils.rm_rf(resources_dir)
|
68
68
|
end
|
69
|
+
FileUtils.mkdir_p(File.join(runner_dir, 'Assets'))
|
69
70
|
puts "下载截图仓库..."
|
70
71
|
git_url = @use_https ? "https://gitee.com/#{gitee_repo}.git" : "git@gitee.com:#{gitee_repo}.git"
|
71
72
|
puts "git_url: #{git_url}"
|
@@ -77,12 +78,13 @@ module EasyCI
|
|
77
78
|
puts "克隆Assets仓库失败,请检查网络和权限设置"
|
78
79
|
exit 1
|
79
80
|
end
|
80
|
-
|
81
|
+
|
81
82
|
if !File.exist?(File.join(gitee_repo_local_path, 'Resources'))
|
82
|
-
FileUtils.
|
83
|
-
FileUtils.
|
83
|
+
FileUtils.mkdir_p(resources_dir)
|
84
|
+
FileUtils.mv(File.join(gitee_repo_local_path, '2D'), File.join(resources_dir, '2D'))
|
85
|
+
FileUtils.mv(File.join(gitee_repo_local_path, 'Common/Font'), File.join(resources_dir, 'Fonts'))
|
84
86
|
else
|
85
|
-
FileUtils.
|
87
|
+
FileUtils.mv(File.join(gitee_repo_local_path, 'Resources'), resources_dir)
|
86
88
|
end
|
87
89
|
|
88
90
|
# 运行Unity截图任务
|
data/lib/easyci/version.rb
CHANGED