Sha256: cde42dae024ab9815ed9baf7b7855ea9d9147c9344a0292945e1188338866426
Contents?: true
Size: 688 Bytes
Versions: 9
Compression:
Stored size: 688 Bytes
Contents
# Tasks namespace :foreman_openscap do namespace :example do desc 'Example Task' task :task => :environment do # Task goes here end end end # Tests namespace :test do desc "Test ForemanOpenscap" Rake::TestTask.new(:foreman_openscap) do |t| test_dir = File.join(File.dirname(__FILE__), '../..', 'test') t.libs << ["test",test_dir] t.pattern = "#{test_dir}/**/*_test.rb" t.verbose = true end end Rake::Task[:test].enhance do Rake::Task['test:foreman_openscap'].invoke end load 'tasks/jenkins.rake' if Rake::Task.task_defined?(:'jenkins:setup') Rake::Task["jenkins:unit"].enhance do Rake::Task['test:foreman_openscap'].invoke end end
Version data entries
9 entries across 9 versions & 1 rubygems