Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
mbrindley (author)
Sun May 11 18:20:54 -0700 2008
lifo (committer)
Tue May 13 02:50:00 -0700 2008
commit  9fb01ce4b194567e84fa2f8582410fc76720a31f
tree    e1bdca1c69d665a46d00b4a0d892fe8d4163f559
parent  2270371f5dbabdd25ffcc59389249a795ba324a1
rails / Rakefile
100644 21 lines (16 sloc) 0.559 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 rdoc 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} #{$0} #{task_name})
    end
  end
end