public
Description: Plugin to handle configuration files in Rails
Homepage:
Clone URL: git://github.com/railsmonk/configuration-file-plugin.git
100644 24 lines (20 sloc) 0.476 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rcov/rcovtask'
 
 
task :default => [:test]
 
Rake::TestTask.new do |t|
  t.libs << "tests"
  t.libs << "lib"
  t.test_files = FileList['tests/test_*.rb']
  t.verbose = true
end
 
desc 'Aggregate code coverage for tests'
task :coverage do
  Rcov::RcovTask.new("coverage") do |t|
    t.libs << "tests"
    t.libs << "lib"
    t.test_files = FileList["tests/test_*.rb"]
    t.output_dir = "coverage"
    t.verbose = true
  end
end