Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3caed339ea
Fetching contributors…

Cannot retrieve contributors at this time

file 37 lines (29 sloc) 0.864 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 34 35 36 37
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
Something went wrong with that request. Please try again.