aboutsummaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-31 11:33:19 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-31 11:37:13 +0100
commitd51d121c0c52205393ae607ebfab5e50b5c9a491 (patch)
tree4962ddb1949b6814251d6d479e898f103b2a4fdb /Rakefile
parent763cc089284b47b0a8fffc14b5e143fa90b2743b (diff)
And the Windows extension finally loads.
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 543d79061d..2c2fb1fcf3 100755
--- a/Rakefile
+++ b/Rakefile
@@ -24,6 +24,13 @@ Rake::ExtensionTask.new('grpc_c', spec) do |ext|
ext.lib_dir = File.join('src', 'ruby', 'lib', 'grpc')
ext.cross_compile = true
ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
+ ext.cross_compiling do |spec|
+ spec.files = %w( etc/roots.pem grpc_c.32.ruby grpc_c.64.ruby )
+ spec.files += Dir.glob('src/ruby/bin/**/*')
+ spec.files += Dir.glob('src/ruby/ext/**/*')
+ spec.files += Dir.glob('src/ruby/lib/**/*')
+ spec.files += Dir.glob('src/ruby/pb/**/*')
+ end
end
# Define the test suites