Skip to content

Commit

Permalink
adds rake console command
Browse files Browse the repository at this point in the history
allows developer to start an irb session with the library preloaded
  • Loading branch information
aoberoi committed Feb 17, 2015
1 parent d6849bb commit 15da0fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ YARD::Rake::YardocTask.new do |t|
# t.options = ['--any', '--extra', '--opts'] # optional
end

desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -I lib -r opentok.rb"
end

task :default => :spec

0 comments on commit 15da0fc

Please sign in to comment.