From af4aa9bd64229d726d62a532f5f31a415ff74725 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Thu, 4 Feb 2016 10:44:22 -0800 Subject: Added support for binary gems. --- ruby/Rakefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ruby/Rakefile') diff --git a/ruby/Rakefile b/ruby/Rakefile index c25103d8..44497dea 100644 --- a/ruby/Rakefile +++ b/ruby/Rakefile @@ -21,6 +21,11 @@ else ext.ext_dir = "ext/google/protobuf_c" ext.lib_dir = "lib/google" end + + task 'gem:windows' do + require 'rake_compiler_dock' + RakeCompilerDock.sh "bundle && rake cross native gem" + end end Gem::PackageTask.new(spec) do |pkg| -- cgit v1.2.3