Browse files

add gem:push task (was removed from jeweler)

  • Loading branch information...
1 parent d2497bd commit 51cbaff30bdc474a0613f8f643aa2240faddb358 @dchelimsky dchelimsky committed Mar 4, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
7 Rakefile
@@ -39,6 +39,13 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
+namespace :gem do
+ desc "push to gemcutter"
+ task :push => :build do
+ system "gem push pkg/rspec-core-#{Rspec::Core::Version::STRING}.gem"
+ end
+end
+
Rspec::Core::RakeTask.new(:spec)
desc "Run all examples using rcov"

0 comments on commit 51cbaff

Please sign in to comment.