Rakefile in ohai-8.8.1 vs Rakefile in ohai-8.9.0
- old
+ new
@@ -14,5 +14,11 @@
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