Make the new package command work with haml-edge.

This commit is contained in:
Nathan Weizenbaum 2010-04-30 00:55:50 -07:00
parent 47e215c352
commit a983cd0c5b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ desc "Build all the packages."
task :package => [:revision_file, :submodules] do
load scope('haml.gemspec')
Gem::Builder.new(HAML_GEMSPEC).build
pkg = "haml-#{HAML_GEMSPEC.version}"
pkg = "#{HAML_GEMSPEC.name}-#{HAML_GEMSPEC.version}"
mkdir_p "pkg"
verbose(true) {mv "#{pkg}.gem", "pkg/#{pkg}.gem"}