Sha256: 00c59d5b84b5e4dd9d54e51b6c577ffc7aef9669ce0346ea027e440532fe939c

Contents?: true

Size: 663 Bytes

Versions: 74

Compression:

Stored size: 663 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rake/testtask'
Rake::TestTask.new('test:core') do |test|
  test_dir = File.join(File.dirname(__FILE__), 'test/lib')
  test.pattern = "#{test_dir}/**/*_test.rb"
  test.libs << test_dir
  test.verbose = false
  test.warning = false
end

begin
  require 'rubocop/rake_task'
  RuboCop::RakeTask.new
rescue StandardError => _e
  puts 'Rubocop not loaded.'
end

Bundler::GemHelper.install_tasks :name => 'foreman_ansible'

task :default do
  Rake::Task['rubocop'].execute
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
foreman_ansible-5.1.1 Rakefile
foreman_ansible-5.1.0 Rakefile
foreman_ansible-4.0.3.5 Rakefile
foreman_ansible-4.0.3.4 Rakefile
foreman_ansible-4.0.3.3 Rakefile
foreman_ansible-4.0.3.2 Rakefile
foreman_ansible-5.0.1 Rakefile
foreman_ansible-4.0.5 Rakefile
foreman_ansible-4.0.3.1 Rakefile
foreman_ansible-4.0.4 Rakefile
foreman_ansible-5.0.0 Rakefile
foreman_ansible-4.0.3 Rakefile
foreman_ansible-4.0.2 Rakefile
foreman_ansible-4.0.0 Rakefile