Rakefile in dentaku-0.2.14 vs Rakefile in dentaku-1.0.0
- old
+ new
@@ -8,6 +8,21 @@
t.pattern = 'spec/*_spec.rb'
end
end
desc "Default: run specs."
-task :default => :spec
+task default: :spec
+
+task :console do
+ begin
+ require 'pry'
+ console = Pry
+ rescue LoadError
+ require 'irb'
+ require 'irb/completion'
+ console = IRB
+ end
+
+ require 'dentaku'
+ ARGV.clear
+ console.start
+end