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