Rakefile in pry-exception_explorer-0.1.1pre5 vs Rakefile in pry-exception_explorer-0.1.1pre7
- old
+ new
@@ -41,12 +41,17 @@
sh "rm -rf ~/.pry-exception_explorer"
sh "gem uninstall pry-exception_explorer" rescue nil
sh "gem install #{direc}/pkg/pry-exception_explorer-#{PryExceptionExplorer::VERSION}.gem"
end
-desc "Run example"
-task :example do
- sh "ruby -I#{direc}/lib/ #{direc}/examples/example.rb "
+desc "Run example wrap"
+task :example_wrap do
+ sh "ruby -I#{direc}/lib/ #{direc}/examples/example_wrap.rb "
+end
+
+desc "Run example inline"
+task :example_inline do
+ sh "ruby -I#{direc}/lib/ #{direc}/examples/example_inline.rb "
end
task :default => :test
desc "Show version"