Sha256: e872bbeafa5d4799a7e3f4f77705f2b516cd556913857f11e944ae884b7a47c4

Contents?: true

Size: 978 Bytes

Versions: 4

Compression:

Stored size: 978 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']
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

4 entries across 4 versions & 1 rubygems

Version Path
chef-provisioning-vsphere-1.1.2 Rakefile
chef-provisioning-vsphere-1.1.1 Rakefile
chef-provisioning-vsphere-1.1.0 Rakefile
chef-provisioning-vsphere-1.0.0 Rakefile