Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v.0.2.4
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (28 sloc) 0.543 kb
#
# Setup
#
# load 'tasks/redis.rake'
#require 'rake/testtask'
$LOAD_PATH.unshift 'lib'
#require 'resque/tasks'
def command?(command)
system("type #{command} > /dev/null 2>&1")
end
#
# Tests
#
task :default => :test
desc "Run the test suite"
task :test do
rg = command?(:rg)
Dir['test/**/*_test.rb'].each do |f|
rg ? sh("rg #{f}") : ruby(f)
end
end
if command? :kicker
desc "Launch Kicker (like autotest)"
task :kicker do
puts "Kicking... (ctrl+c to cancel)"
exec "kicker -e rake test lib examples"
end
end
Jump to Line
Something went wrong with that request. Please try again.