1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

* Added patch to release tgz file too (not only rubygems file)

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@541 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
filipe 2007-08-11 03:44:05 +00:00
parent f3345b21c2
commit c888a2fa04

View file

@ -107,9 +107,10 @@ end
task :gem_source do task :gem_source do
mkdir_p "pkg/gems" mkdir_p "pkg/gems"
mkdir_p "pkg/tar"
FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" } FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
FileList["pkg/*.tgz"].each {|tgz| rm tgz } FileList["pkg/*.tgz"].each {|tgz| mv tgz, "pkg/tar" }
rm_rf "pkg/#{name}-#{version}" rm_rf "pkg/#{name}-#{version}"
sh %{ index_gem_repository.rb -d pkg } sh %{ index_gem_repository.rb -d pkg }