summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-12-29 18:23:31 -0800
committerGitHub <noreply@github.com>2019-12-29 18:23:31 -0800
commita7adb1cbad933f449e601d50b78fda159cc57828 (patch)
tree1141b6c681f729323e0086a608be0f90ce16526b /Rakefile
parentbaf718c504e895544d449412483430ed491f9d99 (diff)
parentd6b2c26efe282c47aaaa9fbedc7f98899babe9db (diff)
downloadchef-zero-a7adb1cbad933f449e601d50b78fda159cc57828.tar.gz
Merge pull request #299 from chef/relative
Use Chefstyle gem and move dev deps to the Gemfile
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