Skip to content

Commit

Permalink
Added spec task to loop through all -plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien committed Sep 28, 2008
1 parent 9167dfa commit b11492d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Rakefile
Expand Up @@ -2,7 +2,7 @@ require "rake"
require "fileutils"
require "merb-core/tasks/merb_rake_helper"

gems = %w[merb_activerecord merb_helpers merb_sequel merb_param_protection merb_test_unit merb_stories merb_screw_unit]
gems = %w[merb_activerecord merb_sequel merb_param_protection merb_test_unit merb_stories merb_screw_unit]

# Implement standard Rake::GemPackageTask tasks - see merb.thor
task :clobber_package do; FileUtils.rm_rf('pkg'); end
Expand Down Expand Up @@ -62,3 +62,13 @@ task :release do
Dir.chdir(dir){ sh "#{Gem.ruby} -S rake release" }
end
end

desc "Run spec examples for Merb More gems, one by one."
task :spec do
gems.each do |gem|
Dir.chdir(gem) { sh "#{Gem.ruby} -S rake spec" }
end
end

desc 'Default: run spec examples for all the gems.'
task :default => 'spec'

0 comments on commit b11492d

Please sign in to comment.