mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Add support for x64-mingw32 platform [Fixes #834]
This commit is contained in:
parent
84fc4ac32c
commit
0978a5740b
1 changed files with 4 additions and 4 deletions
8
Rakefile
8
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']
|
||||
|
|
Loading…
Reference in a new issue