Merge pull request #4185 from pherl/ruby2.5

Update rake file to build of 2.1.6.
This commit is contained in:
Jisi Liu 2018-01-17 17:16:05 -08:00 committed by GitHub
commit cbdeb6af3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,13 +64,13 @@ else
task 'gem:windows' do task 'gem:windows' do
require 'rake_compiler_dock' require 'rake_compiler_dock'
RakeCompilerDock.sh "bundle && IN_DOCKER=true rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.5:2.0.0" RakeCompilerDock.sh "bundle && IN_DOCKER=true rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0"
end end
if RUBY_PLATFORM =~ /darwin/ if RUBY_PLATFORM =~ /darwin/
task 'gem:native' do task 'gem:native' do
system "rake genproto" system "rake genproto"
system "rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.5:2.0.0" system "rake cross native gem RUBY_CC_VERSION=2.5.0:2.4.0:2.3.0:2.2.2:2.1.6:2.0.0"
end end
else else
task 'gem:native' => [:genproto, 'gem:windows'] task 'gem:native' => [:genproto, 'gem:windows']