2010-08-14 06:26:04 +00:00
|
|
|
require 'rubygems'
|
|
|
|
require 'bundler/setup'
|
2010-01-22 03:09:18 +00:00
|
|
|
|
2011-11-14 03:40:49 +00:00
|
|
|
# Immediately sync all stdout so that tools like buildbot can
|
|
|
|
# immediately load in the output.
|
|
|
|
$stdout.sync = true
|
|
|
|
$stderr.sync = true
|
|
|
|
|
2011-11-13 20:37:04 +00:00
|
|
|
# Load all the rake tasks from the "tasks" folder. This folder
|
|
|
|
# allows us to nicely separate rake tasks into individual files
|
|
|
|
# based on their role, which makes development and debugging easier
|
|
|
|
# than one monolithic file.
|
|
|
|
task_dir = File.expand_path("../tasks", __FILE__)
|
|
|
|
Dir["#{task_dir}/**/*.rake"].each do |task_file|
|
|
|
|
load task_file
|
2010-01-22 05:07:01 +00:00
|
|
|
end
|
2011-11-03 04:09:38 +00:00
|
|
|
|
2011-11-13 20:37:04 +00:00
|
|
|
task :default => "test:unit"
|