summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-21 12:18:12 -0700
committerGitHub <noreply@github.com>2020-08-21 12:18:12 -0700
commit08ce9e5c47af33114454b3d422575990d15d2a05 (patch)
tree6c0660ce5a4037e78d74100be7f086211201cefd /Rakefile
parentd3e3be2979fe9036cd478857952281540afa36f2 (diff)
parente5cb3198c6ee34032625d8eef16e0710c5c89ed0 (diff)
downloadmixlib-authentication-08ce9e5c47af33114454b3d422575990d15d2a05.tar.gz
Merge pull request #53 from chef/requires
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 0bd0b29..c8140a3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,7 +24,7 @@ rescue LoadError
end
begin
- require "yard"
+ require "yard" unless defined?(YARD)
YARD::Rake::YardocTask.new(:docs)
rescue LoadError
puts "yard is not available. bundle install first to make sure all dependencies are installed."