summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-08-08 11:36:30 -0700
committerJohn McCrae <john.mccrae@progress.com>2022-08-08 11:36:30 -0700
commit587a12d69a6292a1e8000713b7bd020e8e0164c3 (patch)
tree8f59f389dd2dc485589378448b0137d4381fb179
parentf83e929c8f24d49c7afa50639500368fe1d6fb23 (diff)
downloadchef-587a12d69a6292a1e8000713b7bd020e8e0164c3.tar.gz
updating the windows platform from omnibus
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index ae451c347a..62c2df2455 100644
--- a/Rakefile
+++ b/Rakefile
@@ -61,8 +61,9 @@ end
# hack in all the preinstall tasks to occur before the traditional install task
task install: "pre_install:all"
+# make sure we build the correct gemspec on windows
+gemspec = Gem.win_platform? ? "chef-universal-mingw-ucrt" : "chef"
-gemspec = "chef"
Bundler::GemHelper.install_tasks name: gemspec
# this gets appended to the normal bundler install helper