summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-12-29 18:15:50 -0800
committerTim Smith <tsmith84@gmail.com>2019-12-29 18:15:50 -0800
commit1b5679d3fc50afca8fef9d54711366dd6c62362d (patch)
treea65e41172e7db17b96ddce7e3b70179dbdb9e8f8 /Rakefile
parent30dc4f1b2b7f93c866b29d54e8b701031f1fa824 (diff)
downloadchef-zero-1b5679d3fc50afca8fef9d54711366dd6c62362d.tar.gz
Use Chefstyle gem and move dev deps to the Gemfile
Use our standard setup Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 15a7b0a..2dd1b28 100644
--- a/Rakefile
+++ b/Rakefile
@@ -59,3 +59,10 @@ begin
rescue LoadError
puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed."
end
+
+begin
+ require "yard"
+ YARD::Rake::YardocTask.new(:docs)
+rescue LoadError
+ puts "yard is not available. bundle install first to make sure all dependencies are installed."
+end