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-09 14:46:12 -0700
commit76c3967362c8d8467178cca3bd308312710bb070 (patch)
tree1c2f73271619eb55efa0100b07383a779191310f
parent68f470cd73e223d2b3c75032f095144a7ec66d85 (diff)
downloadchef-76c3967362c8d8467178cca3bd308312710bb070.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