--- a/Rakefile Mon May 30 23:21:41 2016 +0100
+++ b/Rakefile Tue May 31 08:25:09 2016 +0100
@@ -18,3 +18,18 @@
task :'post'
task :'jenkins:job' => [ :'setup', :'checkout', :'update', :'compile', :'test', :'lint', :'artifacts' ]
+
+desc "Run interactive Ruby shell with project loaded and all tasks defined"
+task :'shell' => [:'setup' ] do
+ begin
+ require 'pry'
+ begin
+ require 'pry-byebug'
+ rescue LoadError
+ warn("`pry-byebug` not installed, run `gem install pry-byebug` to install it")
+ end
+ binding.pry
+ rescue LoadError
+ error("`pry` not installed, run `gem install pry` to install it")
+ end
+end