mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Set architecture to "universal" for Windows (fix #934)
This is based on this commit: https://github.com/djberg96/win32-api/commit/ceb47f0eb48e It should fix the issue where we were only building i386-specific gems for Windows.
This commit is contained in:
parent
c710ec3661
commit
0ee65eee4e
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -82,11 +82,11 @@ namespace :jruby do
|
|||
end
|
||||
|
||||
|
||||
[:mingw32, :mswin32].each do |v|
|
||||
namespace v do
|
||||
[:mingw32, :mswin32].each do |platform|
|
||||
namespace platform do
|
||||
spec = modify_base_gemspec do |s|
|
||||
s.add_dependency('win32console', '~> 1.3')
|
||||
s.platform = "i386-#{v}"
|
||||
s.platform = Gem::Platform.new(['universal', platform])
|
||||
end
|
||||
|
||||
Gem::PackageTask.new(spec) do |pkg|
|
||||
|
|
Loading…
Reference in a new issue