Skip to content

Commit

Permalink
Update rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernhard committed Apr 8, 2024
1 parent 12da82b commit c992ddd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env rake
begin
require 'bundler/setup'
rescue LoadError
Expand All @@ -14,13 +13,13 @@ end

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

APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__)

Bundler::GemHelper.install_tasks

Expand All @@ -38,7 +37,7 @@ task default: :test
begin
require 'rubocop/rake_task'
RuboCop::RakeTask.new
rescue
rescue => _
puts 'Rubocop not loaded.'
end

Expand Down

0 comments on commit c992ddd

Please sign in to comment.