Skip to content
Browse files

Added a yard (doc) build task.

  • Loading branch information...
1 parent 9bfd45a commit 52049730fa3d84ce9d6a8bc0df9dde936378d180 Daz Oakley committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 tasks/yard.rake
View
9 tasks/yard.rake
@@ -0,0 +1,9 @@
+begin
+ require "yard"
+
+ YARD::Rake::YardocTask.new do |t|
+ t.files = ['lib/**/*.rb']
+ end
+rescue LoadError
+ puts "[ERROR] Unable to load 'yard' tasks - please install yard"
+end

0 comments on commit 5204973

Please sign in to comment.
Something went wrong with that request. Please try again.