diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-31 11:33:19 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-01-31 11:37:13 +0100 |
commit | d51d121c0c52205393ae607ebfab5e50b5c9a491 (patch) | |
tree | 4962ddb1949b6814251d6d479e898f103b2a4fdb /Rakefile | |
parent | 763cc089284b47b0a8fffc14b5e143fa90b2743b (diff) |
And the Windows extension finally loads.
Diffstat (limited to 'Rakefile')
-rwxr-xr-x | Rakefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |