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