Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (29 sloc) 0.864 kB
require 'rubygems'
require 'rake'
#############################################################################
#
# Standard tasks
#
#############################################################################
task :default => :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
#############################################################################
#
# Custom tasks (add your own tasks here)
#
#############################################################################
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/lib')
require 'yaml'
task :environment do
require 'lib/play'
require "bundler/setup"
end
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -r ./lib/play"
end
Jump to Line
Something went wrong with that request. Please try again.