1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

add profile rake task

This commit is contained in:
Ryan Fitzgerald 2011-10-22 00:59:44 -07:00
parent 1e7eb146c9
commit 6a0aff7e19

View file

@ -38,6 +38,13 @@ task :test do
sh "bacon -Itest -rubygems -a -q"
end
desc "profile pry's startup time"
task :profile do
require 'profile'
require 'pry'
Pry.start(TOPLEVEL_BINDING, :input => StringIO.new('exit'))
end
desc "run pry"
task :pry do
load 'bin/pry'