File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,15 @@ environment:
29
29
- ruby_version : " 200-x64"
30
30
- ruby_version : " 21"
31
31
- ruby_version : " 21-x64"
32
+ cache :
33
+ - vendor
34
+ - C:\Ruby200\lib\ruby\gems\2.0.0
35
+ - C:\Ruby200\bin
36
+ - C:\Ruby200-x64\lib\ruby\gems\2.0.0
37
+ - C:\Ruby200-x64\bin
38
+ - C:\Ruby21\lib\ruby\gems\2.1.0
39
+ - C:\Ruby21\bin
40
+ - C:\Ruby21-x64\lib\ruby\gems\2.1.0
41
+ - C:\Ruby21-x64\bin
32
42
services :
33
43
- mysql
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ file "vendor/#{CONNECTOR_DIR}/include/mysql.h" => ["vendor/#{CONNECTOR_ZIP}"] do
22
22
full_file = File . expand_path ( t . prerequisites . last )
23
23
when_writing "creating #{ t . name } " do
24
24
cd "vendor" do
25
- sh "unzip #{ full_file } #{ CONNECTOR_DIR } /bin/** #{ CONNECTOR_DIR } /include/** #{ CONNECTOR_DIR } /lib/**"
25
+ sh "unzip -uq #{ full_file } #{ CONNECTOR_DIR } /bin/** #{ CONNECTOR_DIR } /include/** #{ CONNECTOR_DIR } /lib/**"
26
26
end
27
27
# update file timestamp to avoid Rake perform this extraction again.
28
28
touch t . name
You can’t perform that action at this time.
0 commit comments