Sha256: 59ebbe160aff0be4a644253d75c7698b59db211a0d70c8eefc1e2fbfb4b249be

Contents?: true

Size: 666 Bytes

Versions: 34

Compression:

Stored size: 666 Bytes

Contents

require 'rake/testtask'

# Tasks
namespace :foreman_puppet do
  namespace :example do
    desc 'Example Task'
    task task: :environment do
      # Task goes here
    end
  end
end

# Tests
namespace :test do
  desc 'Test ForemanPuppet'
  Rake::TestTask.new(:foreman_puppet) do |t|
    test_dir = File.expand_path('../../test', __dir__)
    t.libs << 'test'
    t.libs << test_dir
    t.pattern = "#{test_dir}/**/*_test.rb"
    t.verbose = true
    t.warning = false
  end
end

Rake::Task[:test].enhance ['test:foreman_puppet']

load 'tasks/jenkins.rake'
if Rake::Task.task_defined?(:'jenkins:unit')
  Rake::Task['jenkins:unit'].enhance ['test:foreman_puppet']
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
foreman_puppet-5.1.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.1.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.0.4 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-5.0.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.0.3 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.0.2 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.7 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-2.0.7 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.0.1 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-4.0.0 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.6 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-2.0.6 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-2.0.5 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.5 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.4 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-2.0.4 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.3 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.2 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-2.0.3 lib/tasks/foreman_puppet_tasks.rake
foreman_puppet-3.0.1 lib/tasks/foreman_puppet_tasks.rake