|
|
|
@ -64,13 +64,13 @@ else |
|
|
|
|
|
|
|
|
|
task 'gem:windows' do |
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
if RUBY_PLATFORM =~ /darwin/ |
|
|
|
|
task 'gem:native' do |
|
|
|
|
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 |
|
|
|
|
else |
|
|
|
|
task 'gem:native' => [:genproto, 'gem:windows'] |
|
|
|
|