summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-01-12 17:36:16 +0000
committerThom May <thom@may.lt>2016-01-12 17:37:01 +0000
commitdceb4661c1b11c0e0930301d7e7694a15d3a448f (patch)
tree1a21816b9d0cdd10e7a1cdfa2b51e1a5ccaeed60 /Rakefile
parentb9ee1e1850e3b79d8a81dbe74cdfe409f4728e9e (diff)
downloadohai-dceb4661c1b11c0e0930301d7e7694a15d3a448f.tar.gz
Enable ChefStyle per RFC 64tm/chefstyle
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index a2ee35b6..6be0c8eb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -16,3 +16,9 @@ rescue LoadError
end
task :default => :spec
+
+require "chefstyle"
+require "rubocop/rake_task"
+RuboCop::RakeTask.new(:style) do |task|
+ task.options += ["--display-cop-names", "--no-color"]
+end