Sha256: 589adf1428df4068997bc5a983b8a8d6e694cce1f3d201a9ea0469622175fc6e

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

require 'rake'
require 'spec/rake/spectask'

require "bundler/gem_tasks"


desc 'Default: Run all specs.'
task :default => :all_specs

desc "Run all specs"
task :all_specs do
  Dir['spec/**/Rakefile'].sort.each do |rakefile|
    directory = File.dirname(rakefile)
    puts '', "\033[44m#{directory}\033[0m", ''
    env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
    system("cd #{directory} && #{env} bundle exec rake")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec_candy-0.2.1 Rakefile
rspec_candy-0.2.0 Rakefile
rspec_candy-0.1.2 Rakefile
rspec_candy-0.1.1 Rakefile
rspec_candy-0.1.0 Rakefile