Skip to content
Browse files

minor: Extract yard options to .yardopts

  • Loading branch information...
1 parent 0b07189 commit 8fb51d8e7b388b4e4f0306afbce17390d06be2b6 @TylerBrock TylerBrock committed Jul 24, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 .yardopts
  2. +1 −1 Rakefile
View
1 .yardopts
@@ -0,0 +1 @@
+lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e ./yard/yard_ext.rb -p yard/templates --files docs/TUTORIAL.md,docs/GridFS.md,docs/FAQ.md,docs/REPLICA_SETS.md,docs/WRITE_CONCERN.md,docs/READ_PREFERENCE.md,docs/HISTORY.md,docs/CREDITS.md,docs/RELEASES.md,docs/CREDITS.md,docs/TAILABLE_CURSORS.md
View
2 Rakefile
@@ -176,7 +176,7 @@ task :ydoc do
require './lib/mongo/version.rb'
out = File.join('ydoc', Mongo::VERSION)
FileUtils.rm_rf('ydoc')
- system "yardoc lib/**/*.rb lib/mongo/**/*.rb lib/bson/**/*.rb -e ./yard/yard_ext.rb -p yard/templates -o #{out} --title MongoRuby-#{Mongo::VERSION} --files docs/TUTORIAL.md,docs/GridFS.md,docs/FAQ.md,docs/REPLICA_SETS.md,docs/WRITE_CONCERN.md,docs/READ_PREFERENCE.md,docs/HISTORY.md,docs/CREDITS.md,docs/RELEASES.md,docs/CREDITS.md,docs/TAILABLE_CURSORS.md"
+ system "yardoc -o #{out} --title MongoRuby-#{Mongo::VERSION}"
end
namespace :jenkins do

0 comments on commit 8fb51d8

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