diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake new file mode 100644 index 000000000..c98f3bd4f --- /dev/null +++ b/lib/tasks/yardoc.rake @@ -0,0 +1,11 @@ +begin + require 'yard' + + YARD::Rake::YardocTask.new do |t| + t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb'] + end + +rescue LoadError + # yard not installed (gem install yard) + # http://yardoc.org +end