From a86c9579cb65bf25454e2c41aa43c77c4fa652cd Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 2 May 2024 21:15:16 +0200 Subject: [PATCH] Cleanup Rakefile; remove legacy tasks --- Rakefile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Rakefile b/Rakefile index e008144..0574576 100644 --- a/Rakefile +++ b/Rakefile @@ -1,12 +1,6 @@ require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec') -task :publish_gem do - require 'gem_publisher' - gem = GemPublisher.publish_if_updated('puppet-syntax.gemspec', :rubygems) - puts "Published #{gem}" if gem -end - task default: [:spec] begin require 'github_changelog_generator/task' @@ -23,12 +17,7 @@ rescue LoadError end begin - require 'rubocop/rake_task' + require 'voxpupuli/rubocop/rake' rescue LoadError - # RuboCop is an optional group -else - RuboCop::RakeTask.new(:rubocop) do |task| - # These make the rubocop experience maybe slightly less terrible - task.options = ['--display-cop-names', '--display-style-guide', '--extra-details'] - end + # the voxpupuli-rubocop gem is optional end