aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index cda01d7d57..5ae09160f0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,8 +24,15 @@ task :default => %w(test test:isolated)
end
end
-spec = eval(File.read('rails.gemspec'))
+desc "Smoke-test all projects"
+task :smoke do
+ (PROJECTS - %w(activerecord)).each do |project|
+ system %(cd #{project} && #{env} #{$0} test:isolated)
+ end
+ system %(cd activerecord && #{env} #{$0} sqlite3:isolated_test)
+end
+spec = eval(File.read('rails.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end