Skip to content

Commit b6548a2

Browse files
committed
(PUP-12031) Add Rake task for building puppet gems
This commit adds a Rake task, gem:build, that will build all puppet gems which includes the three platform specific puppet gems: x86-mingw32, x64-mingw32, and universal-darwin
1 parent f68227c commit b6548a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: Rakefile

+10
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ task :default do
4545
sh %{rake -T}
4646
end
4747

48+
namespace :gem do
49+
desc 'build puppet gems'
50+
task :build do
51+
sh "gem build puppet.gemspec --platform x86-mingw32"
52+
sh "gem build puppet.gemspec --platform x64-mingw32"
53+
sh "gem build puppet.gemspec --platform universal-darwin"
54+
sh "gem build puppet.gemspec"
55+
end
56+
end
57+
4858
task :spec do
4959
ENV["LOG_SPEC_ORDER"] = "true"
5060
sh %{rspec #{ENV['TEST'] || ENV['TESTS'] || 'spec'}}

0 commit comments

Comments
 (0)