summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-21 11:37:07 -0700
committerGitHub <noreply@github.com>2020-08-21 11:37:07 -0700
commitad6f224d294adc96d3bb60f66521b6f4ca2d150a (patch)
tree1542e681d887d2cb1b2ad3c193fed98d6280d9a5 /Rakefile
parent244c1d477bacdfc1a61ebda418bf70b88c17f2e1 (diff)
parenta5c7bb6f3ac6b423c48bbfc71aa8df709b80253c (diff)
downloadmixlib-log-ad6f224d294adc96d3bb60f66521b6f4ca2d150a.tar.gz
Merge pull request #60 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 5442c99..3939fd3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,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."