Sha256: 9dddaecd43043d030744ebcaa6e8ba22ae8e9323531010a77326750062ad55c8

Contents?: true

Size: 506 Bytes

Versions: 13

Compression:

Stored size: 506 Bytes

Contents

# Setup Tests
namespace :test do
  desc "Test Discovery plugin"
  Rake::TestTask.new(:discovery) 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:discovery'].invoke
end

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_discovery-5.0.2 lib/discovery.rake
foreman_discovery-5.0.1 lib/discovery.rake
foreman_discovery-5.0.0 lib/discovery.rake
foreman_discovery-4.1.2 lib/discovery.rake
foreman_discovery-4.1.1 lib/discovery.rake
foreman_discovery-4.1.0 lib/discovery.rake
foreman_discovery-4.0.0 lib/discovery.rake
foreman_discovery-2.0.2 lib/discovery.rake
foreman_discovery-2.0.1 lib/discovery.rake
foreman_discovery-3.0.0 lib/discovery.rake
foreman_discovery-2.0.0 lib/discovery.rake
foreman_discovery-2.0.0.rc2 lib/discovery.rake
foreman_discovery-2.0.0.rc1 lib/discovery.rake