Skip to content

Commit

Permalink
Yardoc Rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro committed Jan 25, 2010
1 parent ab20f20 commit 045959d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
.yardoc/
doc/
tmp/
log/
Expand Down
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,11 @@ desc 'Upload website files to rubyforge'
task :website do
sh %{rsync -av website/ jnunemaker@rubyforge.org:/var/www/gforge-projects/httparty}
end

begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.options = ['--verbose']
end
rescue LoadError
end

0 comments on commit 045959d

Please sign in to comment.