My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$:.unshift File.join(File.dirname(__FILE__), "app")

require 'rake/testtask'

task :default => [:coverage]

require 'rcov/rcovtask'
Rcov::RcovTask.new(:coverage) do |t|
t.test_files = FileList['test/AllTests.rb']
t.rcov_opts << "-I ./app" + File::PATH_SEPARATOR + "./test"
t.output_dir = "coverageout"
end

#task :move do
# if ENV['CC_BUILD_ARTIFACTS']
# dir = ENV['CC_BUILD_ARTIFACTS']
# #File.move("./coverageout", dir + "/out")
# File.move("./coverageout", dir)
# end
#File.move("./out/out.grph", dir + "/out.grph")
#Dir.mkdir(dir + "/out")
#File.move
#end

# task :cruise => [:coverage, :move]

Change log

r58 by pragkirk on Apr 8, 2009   Diff
Generic path separator
Go to: 
Project members, sign in to write a code review

Older revisions

r54 by pragkirk on Apr 8, 2009   Diff
Initial Checkin
All revisions of this file

File info

Size: 643 bytes, 25 lines

File properties

svn:executable
Powered by Google Project Hosting