Permalink
Browse files

Split website update Rakefile tasks into RDoc and Non-RDoc parts

  • Loading branch information...
1 parent 9d6e0be commit bedb708b1f56c553b38f8e3f0ba901f007863f82 @jeremyevans committed Sep 11, 2008
Showing with 9 additions and 3 deletions.
  1. +9 −3 Rakefile
View
@@ -77,14 +77,20 @@ end
### Website
-desc "Update sequel.rubyforge.org"
-task :website => [:rdoc]
-task :website do
+desc "Update Non-RDoc section of sequel.rubyforge.org"
+task :website_base do
sh %{www/make_www.rb}
sh %{scp -r www/public/* rubyforge.org:/var/www/gforge-projects/sequel/}
+end
+
+desc "Update RDoc section of sequel.rubyforge.org"
+task :website_rdoc=>[:rerdoc] do
sh %{scp -r rdoc/* rubyforge.org:/var/www/gforge-projects/sequel/rdoc/}
end
+desc "Update sequel.rubyforge.org"
+task :website=>[:website_base, :website_rdoc]
+
### Specs
lib_dir = File.join(File.dirname(__FILE__), 'lib')

0 comments on commit bedb708

Please sign in to comment.