Sha256: a1307c0fc082e138880031650479781701ba673cd1670ab0401967c6711e4953

Contents?: true

Size: 787 Bytes

Versions: 19

Compression:

Stored size: 787 Bytes

Contents

require "bundler/gem_tasks"
require "date"
require "ohai/version"

begin
  require "rspec/core/rake_task"

  RSpec::Core::RakeTask.new do |t|
    t.pattern = "spec/**/*_spec.rb"
  end
rescue LoadError
  desc "rspec is not installed, this task is disabled"
  task :spec do
    abort "rspec is not installed. `(sudo) gem install rspec` to run unit tests"
  end
end

task :default => :spec

require "chefstyle"
require "rubocop/rake_task"
RuboCop::RakeTask.new(:style) do |task|
  task.options += ["--display-cop-names", "--no-color"]
end

begin
  require "github_changelog_generator/task"

  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
    config.future_release = Ohai::VERSION
    config.max_issues = 0
    config.add_issues_wo_labels = false
  end
rescue LoadError
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ohai-13.10.0 Rakefile
ohai-13.9.2 Rakefile
ohai-14.2.0 Rakefile
ohai-14.1.3 Rakefile
ohai-14.1.2 Rakefile
ohai-14.1.0 Rakefile
ohai-13.9.0 Rakefile
ohai-14.0.29 Rakefile
ohai-14.0.28 Rakefile
ohai-13.8.0 Rakefile
ohai-13.7.1 Rakefile
ohai-13.7.0 Rakefile
ohai-13.6.0 Rakefile
ohai-13.5.0 Rakefile
ohai-13.4.0 Rakefile
ohai-13.3.0 Rakefile
ohai-13.2.0 Rakefile
ohai-13.1.0 Rakefile
ohai-13.0.1 Rakefile