Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (16 sloc) 0.558 kb
8922c5d Jeremy Kemper Add toplevel Rakefile to run tests, generate docs, etc en masse
jeremy authored
1 require 'rake'
2
3 env = %(PKG_BUILD="#{ENV['PKG_BUILD']}") if ENV['PKG_BUILD']
4
03d2b6c Jeremy Kemper Forgot railties
jeremy authored
5 PROJECTS = %w(activesupport actionpack actionmailer activeresource activerecord railties)
8922c5d Jeremy Kemper Add toplevel Rakefile to run tests, generate docs, etc en masse
jeremy authored
6
7 Dir["#{File.dirname(__FILE__)}/*/lib/*/version.rb"].each do |version_path|
8 require version_path
9 end
10
11 desc 'Run all tests by default'
12 task :default => :test
13
14 %w(test docs package pgem release).each do |task_name|
15 desc "Run #{task_name} task for all projects"
16 task task_name do
17 PROJECTS.each do |project|
18 system %(cd #{project} && #{env} rake #{task_name})
19 end
20 end
21 end
Something went wrong with that request. Please try again.