Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.803 kB
da04853 @peterskeide Initial commit of TimeFlux (unfinished)
authored
1 # Add your own tasks in files placed in lib/tasks ending in .rake,
2 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
4 require(File.join(File.dirname(__FILE__), 'config', 'boot'))
5
6 require 'rake'
7 require 'rake/testtask'
8 require 'rake/rdoctask'
9 require 'tasks/rails'
a17a443 removed local ldap configuration file
Håkon Torjus Bommen authored
10
a1e61ce added test:coverage to rakefile using rcov
Håkon Torjus Bommen authored
11 namespace :test do
12 desc 'Measures test coverage'
13 task :coverage do
14 rm_f "coverage"
15 rm_f "coverage.data"
16 rcov = "rcov -Itest --rails --aggregate coverage.data -T -x \" rubygems/*,/Library/Ruby/Site/*,gems/*,rcov*\""
17 system("#{rcov} --no-html test/unit/*_test.rb test/unit/helpers/*_test.rb")
18 system("#{rcov} --no-html test/functional/*_test.rb")
19 system("#{rcov} --html test/integration/*_test.rb")
20 system("open coverage/index.html") if PLATFORM['darwin']
21 end
f0e71a0 removed pagination as they didn´t work after update to bundler, and s…
Håkon Torjus Bommen authored
22 end
Something went wrong with that request. Please try again.