Skip to content

Commit 5d66a5b

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 867ce9c commit 5d66a5b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Rakefile

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

48+
namespace :pl_ci do
49+
desc 'Build puppet gems'
50+
task :gem_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'}}

ext/project_data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ gem_rdoc_options:
77
- README.md
88
- --line-numbers
99
pre_tasks:
10-
'package:apple': 'cfpropertylist'
10+
'package:apple': 'cfpropertylist'

0 commit comments

Comments
 (0)