rake_tasks/package.rake in spectie-0.0.3 vs rake_tasks/package.rake in spectie-0.0.4

- old
+ new

@@ -39,13 +39,22 @@ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::RubyforgeTasks.new do |rubyforge| rubyforge.doc_task = "rdoc" - end + end + + Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. It's only needed if you're going to build the gem for this library. Install it with something like: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end desc "Cleans the project package artifacts, generates all files needed to build the gem, and builds it" task :full => ["clean", "rdoc", "gemspec", "build"] + + namespace :release do + desc "Do the full packaging of the gem and release it everywhere" + task :full => ["package:full", "package:rubyforge:release", "package:gemcutter:release"] do + + end + end end