Sha256: e08ae0c392063b1f7a4091ac7cb90c9a51b72779246931e68f06fc0eacd1e039
Contents?: true
Size: 738 Bytes
Versions: 2
Compression:
Stored size: 738 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" require "octorelease" task :spec => 'spec:all' namespace :spec do oses = %w( darwin debian gentoo plamo redhat aix solaris solaris10 solaris11 smartos windows freebsd) task :all => [ oses.map {|os| "spec:#{os}" }, :exec, :ssh, :cmd, :winrm, :powershell, :helper ].flatten oses.each do |os| RSpec::Core::RakeTask.new(os.to_sym) do |t| t.pattern = "spec/#{os}/*_spec.rb" end end [:exec, :ssh, :cmd, :winrm, :powershell].each do |backend| RSpec::Core::RakeTask.new(backend) do |t| t.pattern = "spec/backend/#{backend.to_s}/*_spec.rb" end end RSpec::Core::RakeTask.new(:helper) do |t| t.pattern = "spec/helper/*_spec.rb" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.15.2 | Rakefile |
serverspec-0.15.1 | Rakefile |