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 17 lines (14 sloc) 0.38 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
require "rake/testtask"

desc "Default task: run all tests"
task :default => :test

Rake::TestTask.new do |test|
  test.libs << "test"
  test.pattern = "test/*_test.rb"
  test.warning = true
  test.verbose = true
end

desc "Clear all log files"
task :clear_logs do
  system( "rm #{File.join(File.dirname(__FILE__), *%w[log *.{log,html}])} " +
          "2> /dev/null" )
end
Something went wrong with that request. Please try again.