puppet-hashi_stack/Rakefile
2025-08-12 07:59:50 +00:00

36 lines
906 B
Ruby

# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
begin
require 'voxpupuli/test/rake'
rescue LoadError
# only available if gem group test is installed
end
begin
require 'voxpupuli/acceptance/rake'
rescue LoadError
# only available if gem group acceptance is installed
end
begin
require 'voxpupuli/release/rake_tasks'
rescue LoadError
# only available if gem group releases is installed
else
GCGConfig.user = 'voxpupuli'
GCGConfig.project = 'puppet-hashi_stack'
end
desc "Run main 'test' task and report merged results to coveralls"
task test_with_coveralls: [:test] do
if Dir.exist?(File.expand_path('../lib', __FILE__))
require 'coveralls/rake/task'
Coveralls::RakeTask.new
Rake::Task['coveralls:push'].invoke
else
puts 'Skipping reporting to coveralls. Module has no lib dir'
end
end
# vim: syntax=ruby