rename gem creation to "package" instead of "build"

This commit is contained in:
Tom Vaughan 2012-08-22 11:51:21 -07:00
parent 13ccf115ab
commit 2f5bcb24db

View file

@ -16,17 +16,17 @@ require "middleman-deploy/pkg-info"
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
VERSION = "#{Middleman::Deploy::VERSION}"
task :build do
task :package do
system "gem build #{PACKAGE}.gemspec"
end
task :install => :build do
task :install => :package do
Dir.chdir("pkg") do
system "gem install #{PACKAGE}-#{VERSION}"
end
end
task :release => :build do
task :release => :package do
Dir.chdir("pkg") do
system "gem push #{PACKAGE}-#{VERSION}"
end