Sha256: 6f58b60d7e76818283f0f82049b56d9a4f286926f1c67b7c79a4126cfe68693c
Contents?: true
Size: 573 Bytes
Versions: 15
Compression:
Stored size: 573 Bytes
Contents
require 'bundler/gem_tasks' def specs(dir) FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ') end namespace :spec do desc 'Runs the unit specs' task :unit do sh "bundle exec bacon #{specs('unit/**')}" end desc 'Runs the integration specs' task :integration do sh "bundle exec bacon #{specs('integration/**')}" end desc 'Runs the command specs' task :command do sh "bundle exec bacon #{specs('command/**')}" end desc 'Runs all the specs' task :all do sh "bundle exec bacon #{specs('**')}" end end task :default => 'spec:all'
Version data entries
15 entries across 15 versions & 8 rubygems