diff options
author | Ryan Fitzgerald <rwfitzge@gmail.com> | 2014-05-02 22:43:57 -0700 |
---|---|---|
committer | Ryan Fitzgerald <rwfitzge@gmail.com> | 2014-05-02 22:43:57 -0700 |
commit | 0ee65eee4e1b452c841a9a94d7c3d6d98a4ebfd6 (patch) | |
tree | 05dcf85012227d3505492e67e0afde5eebe04e14 /Rakefile | |
parent | c710ec3661e1a9a843d5320b0daedf6f273b97b5 (diff) | |
download | pry-0ee65eee4e1b452c841a9a94d7c3d6d98a4ebfd6.tar.gz |
Set architecture to "universal" for Windows (fix #934)universal-architecture
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.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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| |