Skip to content

Commit

Permalink
Merge pull request #173 from bastelfreak/vp
Browse files Browse the repository at this point in the history
Cleanup Rakefile; remove legacy tasks
  • Loading branch information
bastelfreak authored May 2, 2024
2 parents 28f73fc + a86c957 commit bd40947
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 bd40947

Please sign in to comment.