Skip to content

Commit

Permalink
Adding rake console command
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonrclark committed Dec 2, 2014
1 parent 714d193 commit 51b013f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -4,6 +4,7 @@ require 'rake/clean'
require 'rspec/core/rake_task'

require_relative 'tasks/changelog'
require_relative 'tasks/console'
require_relative 'tasks/gem'
require_relative 'tasks/rspec'
require_relative 'tasks/sample'
Expand Down
7 changes: 7 additions & 0 deletions tasks/console.rb
@@ -0,0 +1,7 @@
desc 'Start a pry console with Shoes loaded'
task :console do
require 'pry'
require 'shoes'
ARGV.clear
Pry.start
end

0 comments on commit 51b013f

Please sign in to comment.