Sha256: 5aa706815bcb86bf59ced147c687df4a953df3ac941d01caaccdf3c98a4cd5d8

Contents?: true

Size: 450 Bytes

Versions: 11

Compression:

Stored size: 450 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec

desc "Run tests for Travis CI"
task ci: [:style, :spec]

begin
  require "chefstyle"
  require "rubocop/rake_task"
  RuboCop::RakeTask.new(:style) do |task|
    task.options += ["--display-cop-names", "--no-color"]
  end
rescue LoadError
  puts "chefstyle/rubocop is not available.  gem install chefstyle to do style checking."
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
cookbook-omnifetch-0.8.0 Rakefile
cookbook-omnifetch-0.7.0 Rakefile
cookbook-omnifetch-0.6.0 Rakefile
cookbook-omnifetch-0.5.1 Rakefile
mixlib-archive-0.4.1 Rakefile
mixlib-archive-0.4.0 Rakefile
mixlib-archive-0.3.0 Rakefile
cookbook-omnifetch-0.5.0 Rakefile
cookbook-omnifetch-0.4.0 Rakefile
mixlib-archive-0.2.0 Rakefile
mixlib-archive-0.1.0 Rakefile