Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rake smoke: toplevel task to quickly smoke-test all projects

  • Loading branch information...
commit a76af2309ac362ae1f38d24fd4746139deca3417 1 parent 1ebfd99
@jeremy jeremy authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 Rakefile
View
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.