Sha256: b98741dff89858509902ed51c803931f2417edf72c5f67020707b8c763d75d46
Contents?: true
Size: 932 Bytes
Versions: 2
Compression:
Stored size: 932 Bytes
Contents
# -*- encoding: utf-8 -*- require "bundler/gem_tasks" require "kitchen/driver/hyperv_version" require "rake/testtask" Rake::TestTask.new(:unit) do |t| t.libs.push "lib" t.test_files = FileList["spec/**/*_spec.rb"] t.verbose = true end desc "Run all test suites" task :test => [:unit] desc "Display LOC stats" task :stats do puts "\n## Production Code Stats" sh "countloc -r lib" puts "\n## Test Code Stats" sh "countloc -r spec" end task :default => [:test] begin require "github_changelog_generator/task" GitHubChangelogGenerator::RakeTask.new :changelog do |config| config.future_release = "v#{Kitchen::Driver::HYPERV_VERSION}" config.issues = false config.pulls = true config.user = 'test-kitchen' config.project = 'kitchen-hyperv' end rescue LoadError puts "github_changelog_generator is not available. " \ "gem install github_changelog_generator to generate changelogs" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kitchen-hyperv-0.4.1 | Rakefile |
kitchen-hyperv-0.4.0 | Rakefile |