Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Rakefile; remove legacy tasks #173

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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