public
Fork of jschementi/ironruby-stats
Description: Statistics for IronRuby
Homepage: http://ironruby.info
Clone URL: git://github.com/jredville/ironruby-stats.git
ironruby-stats / Rakefile
100644 36 lines (30 sloc) 0.672 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
25
26
27
28
29
30
31
32
33
34
35
36
namespace :stats do
  desc "run the stats on an existing build"
  task :nobuild do
    exec("ruby stats.rb --skip-build --all")
  end
 
  desc "run the stats and upload to the server"
  task :retry do
    #pushd %~dp0\..\..\..\Main
    #tf get
    #popd
    #pushd %~dp0
    #ruby retry.rb
    #ruby stats.rb --all
    #popd
    exec("retry.bat")
  end
  
  desc "run stats"
  task :stats do
    exec("ruby stats.rb --all")
  end
 
  desc "run stats without uploading"
  task :noupload => :clean do
    exec("ruby stats.rb --all --reporter=text")
  end
 
  desc "clean stats"
  task :clean do
    system("ruby stats.rb --clean")
  end
end
 
task :default => "stats:noupload"