1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Get Action Service (soon to be renamed Action Web Service) in the loop

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-02-18 16:52:40 +00:00
parent b305756d9f
commit bb817f1ed4
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,8 @@ require 'fileutils'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'actionservice'
PKG_VERSION = '0.4.0' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
desc "Default Task"
task :default => [ :test ]

View file

@ -2,7 +2,7 @@
build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
(%w( actionmailer actionpack activerecord railties activesupport) - ARGV).each do |pkg|
(%w( actionservice actionmailer actionpack activerecord railties activesupport) - ARGV).each do |pkg|
puts "Pushing: #{pkg} (#{build_number})"
`cd #{pkg} && PKG_BUILD=#{build_number} rake pgem && cd ..`
end