Sha256: a39f67abf3277a37cd43c1d1fd7fa5c815b7f032e87c62e05b5fc8fc53d60e61
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
# -*- encoding: utf-8 -*- require "bundler/gem_tasks" require "rspec/core/rake_task" desc "Run all specs in spec directory" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = "spec/**/*_spec.rb" end desc "Run all test suites" task :test => [:spec] require "cane/rake_task" desc "Run cane to check quality metrics" Cane::RakeTask.new do |cane| cane.canefile = "./.cane" end require "chefstyle" require "rubocop/rake_task" 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 => [:cane, :style, :stats] task :default => [:test, :quality] 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
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kitchen-vagrant-1.1.0 | Rakefile |
kitchen-vagrant-1.0.2 | Rakefile |
kitchen-vagrant-1.0.1 | Rakefile |
kitchen-vagrant-1.0.0 | Rakefile |