Sha256: ad634bf90f72bbaa3ae0d9d56845dfdcf116cf98e5ea54d0492ce502595f957a
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' task :spec => 'spec:all' namespace :spec do oses = %w( darwin debian gentoo redhat solaris ) task :all => [ oses.map {|os| "spec:#{os}" }, :others].flatten oses.each do |os| RSpec::Core::RakeTask.new(os.to_sym) do |t| t.pattern = "spec/#{os}/*_spec.rb" end end RSpec::Core::RakeTask.new(:others) do |t| t.pattern = "spec/{helpers,backend}/*_spec.rb" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.4.14 | Rakefile |
serverspec-0.4.13 | Rakefile |