about summary refs log tree commit homepage
path: root/projects/gem_plugin/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'projects/gem_plugin/Rakefile')
-rw-r--r--projects/gem_plugin/Rakefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/projects/gem_plugin/Rakefile b/projects/gem_plugin/Rakefile
index ff716e9..4455294 100644
--- a/projects/gem_plugin/Rakefile
+++ b/projects/gem_plugin/Rakefile
@@ -17,9 +17,8 @@ Echoe.new("gem_plugin") do |p|
   p.rdoc_pattern = ['README', 'LICENSE', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
 end
 
-# The default Echoe rdoc location should be good enough, but it's not what we currently use.
-# It would be: rubyforge.org:/var/www/gforge-projects/mongrel/gem_plugin/
-#
-# task :site => [:redocs] do
-#   sh %{ rsync -r doc/* rubyforge.org:/var/www/gforge-projects/mongrel/gem_plugin_rdoc/ }
-# end
+namespace :site do
+  task :rdoc => [:doc] do
+    sh "rsync -azv --no-perms --no-times  doc/* rubyforge.org:/var/www/gforge-projects/mongrel/gem_plugin_rdoc/"
+  end
+end \ No newline at end of file