Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 35 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
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"
Something went wrong with that request. Please try again.