Sha256: df24c436bc0c4ce8146919c1f886046f51de3665e5c3325f5b04284e657666be

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 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

begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ForemanSalt'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

begin
  require 'rubocop/rake_task'
rescue LoadError
  # Test group disabled
else
  RuboCop::RakeTask.new
end

task default: :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_salt-17.0.0 Rakefile
foreman_salt-16.0.3 Rakefile
foreman_salt-16.0.2 Rakefile
foreman_salt-16.0.1 Rakefile