Permalink
Browse files

Restored the rake gem package tasks

  • Loading branch information...
jferris committed Jun 23, 2010
1 parent 5808bd1 commit 4802311ea9c02ed0658e4d46a47ac96a4edd20db
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
@@ -3,6 +3,7 @@ require 'rake'
require 'rake/rdoctask'
require 'rcov/rcovtask'
require 'date'
+require 'rake/gempackagetask'
require 'spec/rake/spectask'
require 'cucumber/rake/task'
@@ -60,3 +61,9 @@ Cucumber::Rake::Task.new(:features) do |t|
t.fork = true
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end
+
+eval("$specification = begin; #{IO.read('factory_girl.gemspec')}; end")
+Rake::GemPackageTask.new($specification) do |package|
+ package.need_zip = true
+ package.need_tar = true
+end

0 comments on commit 4802311

Please sign in to comment.