Skip to content

Commit

Permalink
Cleanup Rakefile; remove legacy tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 2, 2024
1 parent 28f73fc commit a86c957
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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

0 comments on commit a86c957

Please sign in to comment.