Sha256: bb2e7a6775340974331cdd2877683f430cc49cedafc03c16fa8394b4c1cabb10
Contents?: true
Size: 655 Bytes
Versions: 5
Compression:
Stored size: 655 Bytes
Contents
require 'rspec/core/rake_task' require 'yard' require 'resque/tasks' ENV['MEASURE_DIR'] = ENV['MEASURE_DIR'] || File.join('fixtures', 'measure_defs') ENV['MEASURE_PROPS'] = ENV['MEASURE_PROPS'] || File.join('fixtures', 'measure_props') Dir['lib/tasks/*.rake'].sort.each do |ext| load ext end RSpec::Core::RakeTask.new do |t| t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"] t.pattern = 'spec/**/*_spec.rb' end YARD::Rake::YardocTask.new namespace :cover_me do task :report do require 'cover_me' CoverMe.complete! end end task :coverage do Rake::Task['spec'].invoke Rake::Task['cover_me:report'].invoke end
Version data entries
5 entries across 5 versions & 1 rubygems