Rakefile in pry-exception_explorer-0.1.1pre3 vs Rakefile in pry-exception_explorer-0.1.1pre5
- old
+ new
@@ -41,12 +41,24 @@
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 "
+end
+
+task :default => :test
+
+desc "Show version"
+task :version do
+ puts "PryExceptionExplorer version: #{PryExceptionExplorer::VERSION}"
+end
+
desc "run tests"
task :test do
- sh "bacon -Itest -rubygems -a"
+ sh "bacon -Itest -rubygems -a -q"
end
desc "Build gemspec"
task :gemspec => "ruby:gemspec"