Sha256: 0da8c973f160c927a483f78ed590a4ea44d95a3b4e98d67c71bdfa7fe9711ea0

Contents?: true

Size: 692 Bytes

Versions: 12

Compression:

Stored size: 692 Bytes

Contents

require 'rake/testtask'

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

# Tests
namespace :test do
  desc 'Test ForemanGoogle'
  Rake::TestTask.new(:foreman_google) 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_google']

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_google-3.0.2 lib/tasks/foreman_google_tasks.rake
foreman_google-3.0.1 lib/tasks/foreman_google_tasks.rake
foreman_google-3.0.0 lib/tasks/foreman_google_tasks.rake
foreman_google-2.0.1 lib/tasks/foreman_google_tasks.rake
foreman_google-2.0.0 lib/tasks/foreman_google_tasks.rake
foreman_google-1.0.4 lib/tasks/foreman_google_tasks.rake
foreman_google-1.0.3 lib/tasks/foreman_google_tasks.rake
foreman_google-1.0.2 lib/tasks/foreman_google_tasks.rake
foreman_google-1.0.1 lib/tasks/foreman_google_tasks.rake
foreman_google-1.0.0 lib/tasks/foreman_google_tasks.rake
foreman_google-0.0.2 lib/tasks/foreman_google_tasks.rake
foreman_google-0.0.1 lib/tasks/foreman_google_tasks.rake