Sha256: d0c1233def2f3cd2eb9997df79fa5f7115b7459f7de3431fe3cfeb5b9d899601

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

#!/usr/bin/env rake
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 => _
  puts 'Rubocop not loaded.'
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_ansible-1.5.2 Rakefile
foreman_ansible-1.5.1 Rakefile
foreman_ansible-1.5.0 Rakefile
foreman_ansible-1.4.6 Rakefile