Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (26 sloc) 0.634 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
require 'rake/clean'

task :default => :test

desc 'Run tests'
task :test do
  sh "testrb test/*_test.rb"
end

desc 'Start a development server'
task :start do
  command = "thin -s 1 -C config.yml -R config.ru start"
  STDERR.puts(command) if verbose
  exec(command)
end

desc 'Stop a development server'
task :stop do
  command = "thin -s 1 -C config.yml -R config.ru stop"
  STDERR.puts(command) if verbose
  exec(command)
end

desc 'Restarts the server'
task :restart => [:stop, :start]

desc 'Starts mysql with the database'
task :mysql do
  command = "mysql -uroot irclogs"
  STDERR.puts(command) if verbose
  exec(command)
end

Something went wrong with that request. Please try again.