rename gem creation to "package" instead of "build"
This commit is contained in:
parent
13ccf115ab
commit
2f5bcb24db
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue