summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index c8b8f54..92c0234 100644
--- a/Rakefile
+++ b/Rakefile
@@ -32,6 +32,12 @@ task :test do
sh "bacon -q #{direc}/test/test.rb"
end
+desc "reinstall gem"
+task :reinstall => :gems do
+ sh "gem uninstall method_source" rescue nil
+ sh "gem install #{direc}/pkg/method_source-#{MethodSource::VERSION}.gem"
+end
+
desc "Set up and run tests"
task :default => [:test]