Permalink
Browse files

Have the Rake GemPackageTask also create archives.

git-svn-id: svn://hamptoncatlin.com/haml/tags/rel_1-0-2@278 7063305b-7217-0410-af8c-cdc13e5119b9
  • Loading branch information...
nex3 committed Jan 5, 2007
1 parent 970ba24 commit 3aa64dfa662c71bfa74ae84b1fcde5df9d77bf43
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
@@ -73,7 +73,11 @@ if is_task?('package', 'repackage', 'clobber_package')
spec.test_files = FileList['test/**/*_test.rb'].to_a
end
- Rake::GemPackageTask.new(spec) { |pkg| }
+ Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.need_zip = true
+ pkg.need_tar_gz = true
+ pkg.need_tar_bz2 = true
+ end
end
# ----- Benchmarking -----

0 comments on commit 3aa64df

Please sign in to comment.