mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-09-13 13:45:35 +01:00
36 lines
906 B
Ruby
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
|