Skip to content
This repository
Newer
Older
100644 22 lines (16 sloc) 0.549 kb
8922c5dc »
2007-10-15 Add toplevel Rakefile to run tests, generate docs, etc en masse
1 require 'rake'
2
3 env = %(PKG_BUILD="#{ENV['PKG_BUILD']}") if ENV['PKG_BUILD']
4
5 PROJECTS = %w(actionmailer actionpack activerecord activeresource activesupport)
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.