diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-09-27 17:15:02 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-09-27 17:15:02 -0700 |
commit | f6bba53945cb06846807ab70941674db1b35772a (patch) | |
tree | 1b6f381a96ed1652fc06fc22735c45439a8d3d8d /chef-x86-mingw32.gemspec | |
parent | 008973c3c0b5598eed5f8d649c3eb8c6adf9325a (diff) | |
download | chef-f6bba53945cb06846807ab70941674db1b35772a.tar.gz |
use separate gemspec for windows
- allows us to explicitly version pin in the gemspec on gem installs
rather than getting different behavior from 'gem install' and
'bundle install' (gemspec vs. Gemfile).
- the mingw deps had been in the Gemfile because it needed to be a
group since gemspecs do not have groups. this builds two different
gems for publication to rubygems instead.
- see mixlib-shellout for the prototype of where this has been done
(successfully).
Diffstat (limited to 'chef-x86-mingw32.gemspec')
-rw-r--r-- | chef-x86-mingw32.gemspec | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chef-x86-mingw32.gemspec b/chef-x86-mingw32.gemspec new file mode 100644 index 0000000000..5e57054127 --- /dev/null +++ b/chef-x86-mingw32.gemspec @@ -0,0 +1,18 @@ +# x86-mingw32 Gemspec # +gemspec = eval(IO.read(File.expand_path("../chef.gemspec", __FILE__))) + +gemspec.platform = "x86-mingw32" + +gemspec.add_dependency "systemu", "2.2.0" # CHEF-3718 +gemspec.add_dependency "ffi", "1.3.1" +gemspec.add_dependency "rdp-ruby-wmi", "0.3.1" +gemspec.add_dependency "windows-api", "0.4.2" +gemspec.add_dependency "windows-pr", "1.2.2" +gemspec.add_dependency "win32-api", "1.4.8" +gemspec.add_dependency "win32-dir", "0.4.1" +gemspec.add_dependency "win32-event", "0.6.0" +gemspec.add_dependency "win32-mutex", "0.4.0" +gemspec.add_dependency "win32-process", "0.7.3" +gemspec.add_dependency "win32-service", "0.7.2" + +gemspec |