Sha256: e19202d9e37c49a9d459f2690dd632ac7f92e547867a2581699bc75f724853e0
Contents?: true
Size: 986 Bytes
Versions: 23
Compression:
Stored size: 986 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 = [ Hitimes::Paths.lib_path, Hitimes::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 task :spec => "ext:build" end end end
Version data entries
23 entries across 23 versions & 2 rubygems