mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Yardoc Rake task
This commit is contained in:
parent
ab20f20f21
commit
045959d011
2 changed files with 9 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
.DS_Store
|
||||
.yardoc/
|
||||
doc/
|
||||
tmp/
|
||||
log/
|
||||
|
|
8
Rakefile
8
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue