vfastdev 0.1.3 → 0.1.4
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/vfastdev +7 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e6ea8b62491ffa846dd406a267fe62f81d542a5
|
4
|
+
data.tar.gz: 4d77feeb69a7749d83570de95f5f7f3397763a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b9faf510ef0e19e1e0ec68defcfb268a2808f65820c2439e1eb32151f44a8d71659094a1f992767619d4e09b080029271539fde1988114cdcecfde8a1c3fb7
|
7
|
+
data.tar.gz: 99069271d35b6c877d10b3ee0c7ca6a952414b57ae3dbbc919eef692934a2403818ae65ed32600376d59bb8209981d76c216834de775300f4ca3fc6ecf599c5b
|
data/bin/vfastdev
CHANGED
@@ -49,7 +49,7 @@ EOF
|
|
49
49
|
|
50
50
|
class VFastDev
|
51
51
|
def initialize(options)
|
52
|
-
@version = '0.1.
|
52
|
+
@version = '0.1.4'
|
53
53
|
@vs_project_names = parse_vs_project_names
|
54
54
|
@vs_framework_dir = 'VSFrameworks'
|
55
55
|
@fastdev_dir = 'FastDev'
|
@@ -234,7 +234,11 @@ XML
|
|
234
234
|
# 输出静态库版本信息
|
235
235
|
def print_version_info
|
236
236
|
begin
|
237
|
-
|
237
|
+
url = 'http://192.168.33.79:8000/lib/latest_framework_info?app_id=Spec'
|
238
|
+
unless @commit_hash.nil?
|
239
|
+
url = "http://192.168.33.79:8000/lib/framework_info?app_id=Spec&git_commit_hash=#{@commit_hash}"
|
240
|
+
end
|
241
|
+
open(url) do |f|
|
238
242
|
puts "静态库版本信息: " + f.read
|
239
243
|
end
|
240
244
|
rescue StandardError, Timeout::Error, SystemCallError, Errno::ECONNREFUSED
|
@@ -332,7 +336,7 @@ option_parser = OptionParser.new do |opts|
|
|
332
336
|
dev_opts[:no_download_lib] = true
|
333
337
|
end
|
334
338
|
|
335
|
-
opts.on('-c', '--commit-hash ', '指定库版本') do |hash|
|
339
|
+
opts.on('-c', '--commit-hash hash', '指定库版本') do |hash|
|
336
340
|
dev_opts[:commit_hash] = hash
|
337
341
|
end
|
338
342
|
|