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

Remove github changelog generator & countloc #431

Merged
merged 1 commit into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://rubygems.org"

gemspec

group :guard do
Expand Down
23 changes: 0 additions & 23 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,7 @@ RuboCop::RakeTask.new(:style) do |task|
task.options << "--display-cop-names"
end

desc "Display LOC stats"
task :stats do
puts "\n## Production Code Stats"
sh "countloc -r lib/kitchen"
puts "\n## Test Code Stats"
sh "countloc -r spec"
end

desc "Run all quality tasks"
task quality: %i{style stats}

task default: %i{test quality}

begin
require "github_changelog_generator/task"

GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.future_release = Kitchen::Driver::VAGRANT_VERSION
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature,Improvement".split(",")
config.bug_labels = "bug,Bug".split(",")
config.exclude_labels = %w{Duplicate Question Discussion No_Changelog}
end
rescue LoadError
task :changelog do
raise "github_changelog_generator not installed! gem install github_changelog_generator."
end
end
1 change: 0 additions & 1 deletion kitchen-vagrant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Gem::Specification.new do |gem|

gem.add_dependency "test-kitchen", ">= 1.4", "< 3"

gem.add_development_dependency "countloc", "~> 0.4"
gem.add_development_dependency "rake"
gem.add_development_dependency "rspec", "~> 3.2"
gem.add_development_dependency "simplecov", "~> 0.9"
Expand Down