Sha256: 24dcd802915c3c486e802f6df4125293b43bb18c01e707ad1d50ba6dac4b5e26

Contents?: true

Size: 662 Bytes

Versions: 17

Compression:

Stored size: 662 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 => _
  puts 'Rubocop not loaded.'
end

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foreman_ansible-3.0.9 Rakefile
foreman_ansible-3.0.8 Rakefile
foreman_ansible-3.0.7 Rakefile
foreman_ansible-3.0.6 Rakefile
foreman_ansible-3.0.5 Rakefile
foreman_ansible-3.0.4 Rakefile
foreman_ansible-3.0.3 Rakefile
foreman_ansible-2.3.6 Rakefile
foreman_ansible-2.3.5 Rakefile
foreman_ansible-2.3.4 Rakefile
foreman_ansible-3.0.2 Rakefile
foreman_ansible-3.0.1 Rakefile
foreman_ansible-3.0.0 Rakefile
foreman_ansible-2.3.3 Rakefile
foreman_ansible-2.3.2 Rakefile
foreman_ansible-2.3.1 Rakefile
foreman_ansible-2.3.0 Rakefile