You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
214 B

require 'bundler/gem_tasks'
def specs(dir)
FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
end
desc 'Runs all the specs'
task :specs do
sh "bundle exec bacon #{specs('**')}"
end
task :default => :specs