Sha256: d4ec5068a196e3cb82012ef743370fb4e3e7ae378f72bd612c0135ec59a6d2d1
Contents?: true
Size: 953 Bytes
Versions: 12
Compression:
Stored size: 953 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 'spec/rake/spectask' Spec::Rake::SpecTask.new do |r| r.ruby_opts = spec_config.ruby_opts r.libs = [ Launchy::Paths.lib_path, Launchy::Paths.root_dir ] r.spec_files = spec_config.files r.spec_opts = spec_config.options if rcov_config = Configuration.for_if_exist?('rcov') then r.rcov = true r.rcov_dir = rcov_config.output_dir r.rcov_opts = rcov_config.rcov_opts end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems