1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@656 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
evanweaver 2007-10-15 19:11:37 +00:00
parent cd5f2b4550
commit 02e3382284

View file

@ -63,7 +63,7 @@ def sub_project(project, *targets)
end
end
task :package_all do
task :package_all => [:package] do
sub_project("gem_plugin", :clean, :package)
sub_project("cgi_multipart_eof_fix", :clean, :package)
sub_project("fastthread", :clean, :package)
@ -107,9 +107,8 @@ task :uninstall => [:clean] do
end
end
#### Documentation upload tasks
#### Extra upload tasks
# Is this still used?
task :gem_source => [:package_all] do
rm_rf "pkg/gems"
rm_rf "pkg/tars"
@ -117,8 +116,13 @@ task :gem_source => [:package_all] do
mkdir_p "pkg/tars"
FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
FileList["pkg/*.tgz"].each {|tgz| mv tgz, "pkg/tars" }
rm_rf "pkg/mongrel*"
FileList["**/*.tgz"].each {|tgz| mv tgz, "pkg/tars" }
# XXX Hack
sh %{ cp ~/Downloads/mongrel-1.0.2-mswin32.gem pkg/gems/ }
sh %{ cp ~/Downloads/mongrel_service-0.3.3-mswin32.gem pkg/gems/ }
sh %{ rm -rf pkg/mongrel* }
sh %{ index_gem_repository.rb -d pkg }
sh %{ scp -r CHANGELOG pkg/* rubyforge.org:/var/www/gforge-projects/mongrel/releases/ }