From 0978a5740b00825eb0c57425f6f245f74d3bb626 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 15 May 2014 00:22:28 -0700 Subject: [PATCH] Add support for x64-mingw32 platform [Fixes #834] --- Rakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 64df6082..4307cc16 100644 --- a/Rakefile +++ b/Rakefile @@ -82,11 +82,11 @@ namespace :jruby do end -[:mingw32, :mswin32].each do |v| - namespace v do +['i386-mingw32', 'i386-mswin32', 'x64-mingw32'].each do |platform| + namespace platform do spec = modify_base_gemspec do |s| s.add_dependency('win32console', '~> 1.3') - s.platform = "i386-#{v}" + s.platform = platform end Gem::PackageTask.new(spec) do |pkg| @@ -97,7 +97,7 @@ end end desc "build all platform gems at once" -task :gems => [:clean, :rmgems, 'ruby:gem', 'mswin32:gem', 'mingw32:gem', 'jruby:gem'] +task :gems => [:clean, :rmgems, 'ruby:gem', 'i386-mswin32:gem', 'i386-mingw32:gem', 'x64-mingw32:gem', 'jruby:gem'] desc "remove all platform gems" task :rmgems => ['ruby:clobber_package']