1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/Rakefile
Jeremy Kemper 03d2b6ce82 Forgot railties
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-15 00:11:50 +00:00

21 lines
558 B
Ruby

require 'rake'
env = %(PKG_BUILD="#{ENV['PKG_BUILD']}") if ENV['PKG_BUILD']
PROJECTS = %w(activesupport actionpack actionmailer activeresource activerecord railties)
Dir["#{File.dirname(__FILE__)}/*/lib/*/version.rb"].each do |version_path|
require version_path
end
desc 'Run all tests by default'
task :default => :test
%w(test docs package pgem release).each do |task_name|
desc "Run #{task_name} task for all projects"
task task_name do
PROJECTS.each do |project|
system %(cd #{project} && #{env} rake #{task_name})
end
end
end