Sha256: 827568c76f570133b7f7023021a364629c865322c37e4775038a73692f8767da
Contents?: true
Size: 767 Bytes
Versions: 1
Compression:
Stored size: 767 Bytes
Contents
require 'tasks/config' #-------------------------------------------------------------------------------- # configuration for running rspec. This shows up as the test:default task #-------------------------------------------------------------------------------- if spec_config = Configuration.for_if_exist?("test") then if spec_config.mode == "spec" then namespace :test do task :default => :spec require 'rspec/core/rake_task' rs = RSpec::Core::RakeTask.new do |r| r.ruby_opts = spec_config.ruby_opts r.rspec_opts = spec_config.options if rcov_config = Configuration.for_if_exist?('rcov') then r.rcov = false r.rcov_opts = rcov_config.rcov_opts end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
launchy-0.4.0 | tasks/rspec.rake |