Sha256: e38c2056c8438150a40c415654732323f5144372ee2fadfb4e1ff464092fc00a

Contents?: true

Size: 997 Bytes

Versions: 2

Compression:

Stored size: 997 Bytes

Contents

# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'chef/provisioning/vsphere_driver/version'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/lib')

RuboCop::RakeTask.new(:style) do |task|
  task.options << '--display-cop-names'
end

RSpec::Core::RakeTask.new(:unit) do |task|
  task.pattern = 'spec/unit_tests/*_spec.rb'
  task.rspec_opts = ['--color', '-f documentation']
end

RSpec::Core::RakeTask.new(:integration) do |task|
  task.pattern = 'spec/integration_tests/*_spec.rb'
  task.rspec_opts = ['--color', '-f documentation', '--out rspec.txt']
end

begin
  require 'github_changelog_generator/task'

  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
    config.future_release = ChefProvisioningVsphere::VERSION
    config.issues = true
  end
rescue LoadError
  puts 'github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs'
end

task default: [:unit]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chef-provisioning-vsphere-2.0.2 Rakefile
chef-provisioning-vsphere-2.0.0 Rakefile