Sha256: b922acd663616ab044c2202777f1d19e54fbff7a63d28b22cae9318dc939470f
Contents?: true
Size: 485 Bytes
Versions: 32
Compression:
Stored size: 485 Bytes
Contents
require 'rake' require 'rake/rdoctask' require 'spec/rake/spectask' require 'lib/metric_fu' desc "Run all specs in spec directory" Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec,config,Library,usr/lib/ruby'] t.rcov_dir = File.join(File.dirname(__FILE__), "tmp") end MetricFu::Configuration.run do |config| config.template_class = AwesomeTemplate end task :default => [:"metrics:all"]
Version data entries
32 entries across 32 versions & 14 rubygems