about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-13 05:32:51 +0000
committerevanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9>2008-02-13 05:32:51 +0000
commit58caf568843cf25fcc3c916541b15cb05ea042c2 (patch)
treeb8d058163426c722361c097109690e16273ea89a /Rakefile
parent5d7220eb42d7aadfdb0e4c6f712e386fecec97c3 (diff)
downloadunicorn-58caf568843cf25fcc3c916541b15cb05ea042c2.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@958 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile39
1 files changed, 2 insertions, 37 deletions
diff --git a/Rakefile b/Rakefile
index f47d7a2..6b2aba9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -9,6 +9,7 @@ e = Echoe.new("mongrel") do |p|
   p.clean_pattern = ['ext/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'lib/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'ext/http11/Makefile', 'pkg', 'lib/*.bundle', '*.gem', 'site/output', '.config', 'lib/http11.jar', 'ext/http11_java/classes', 'coverage']
   p.url = "http://mongrel.rubyforge.org"
   p.rdoc_pattern = ['README', 'LICENSE', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc']
+  p.docs_host = 'mongrel.cloudbur.st:/home/eweaver/www/mongrel/htdocs/web'
   p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/
   p.ruby_version = '>=1.8.4'
   p.dependencies = ['gem_plugin >=0.2.3']  
@@ -194,44 +195,8 @@ end
 #### Site upload tasks
 
 namespace :site do
-
-  desc "Package and upload .gem files and .tgz files for Mongrel and all subprojects to http://mongrel.rubyforge.org/releases/"
-  task :source => [:package_all] do
-    rm_rf "pkg/gems"
-    rm_rf "pkg/tars"
-    mkdir_p "pkg/gems"
-    mkdir_p "pkg/tars"
-
-    FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
-    FileList["**/*.tgz"].each {|tgz| mv tgz, "pkg/tars" }
-
-    sh "rm -rf pkg/mongrel*"
-    sh "gem generate_index -d pkg"
-    sh "scp -r CHANGELOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
-    sh "svn log -v > SVN_LOG"
-    sh "scp -r SVN_LOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/"
-    rm "SVN_LOG"
-  end
-
-  desc "Upload the website"
-  task :web do
-    # Requires the 'webgem' gem
-    sh "cd site; webgen; webgen; curl 'http://feed43.com/mongrel.xml' > output/rss.xml; rsync -azv --no-perms --no-times output/* rubyforge.org:/var/www/gforge-projects/mongrel/"
-    puts "\nMake sure to re-run the site update 6 hours later if you updated the news. This delay is required for Feed43 to pick up the site changes."
-  end
-
-  desc "Upload the rdocs"
-  task :rdoc => [:doc] do
-    sh "rsync -azv --no-perms --no-times doc/* rubyforge.org:/var/www/gforge-projects/mongrel/rdoc/"
-    sh "cd projects/gem_plugin; rake site:rdoc"
-  end
-
   desc "Upload the coverage report"
   task :coverage => [:rcov] do
-    sh "rsync -azv --no-perms --no-times test/coverage/* rubyforge.org:/var/www/gforge-projects/mongrel/coverage/" rescue nil
+    sh "rsync -azv --no-perms --no-times test/coverage/* mongrel.cloudbur.st:/home/eweaver/www/mongrel/htdocs/web/coverage" rescue nil
   end
-
-  desc "Upload the website, the rdocs, and the coverage report"
-  task :all => [:clean, :web, :rdoc, :coverage]
-
 end