mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Build tarballs etc. when packaging for a release.
This commit is contained in:
parent
1a9c5e2d36
commit
39da4e404e
1 changed files with 7 additions and 1 deletions
8
Rakefile
8
Rakefile
|
@ -45,7 +45,13 @@ require 'rake/gempackagetask'
|
||||||
require 'lib/haml'
|
require 'lib/haml'
|
||||||
load 'haml.gemspec'
|
load 'haml.gemspec'
|
||||||
|
|
||||||
Rake::GemPackageTask.new(HAML_GEMSPEC).define
|
Rake::GemPackageTask.new(HAML_GEMSPEC) do |pkg|
|
||||||
|
if Rake.application.top_level_tasks.include?('release')
|
||||||
|
pkg.need_tar_gz = true
|
||||||
|
pkg.need_tar_bz2 = true
|
||||||
|
pkg.need_zip = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
desc "This is an internal task."
|
desc "This is an internal task."
|
||||||
task :revision_file do
|
task :revision_file do
|
||||||
|
|
Loading…
Add table
Reference in a new issue