Oddly this is no longer required.
This commit is contained in:
parent
268ddb1a14
commit
fd5fa8c04d
1 changed files with 1 additions and 22 deletions
23
Rakefile
23
Rakefile
|
@ -11,25 +11,4 @@ require 'rake/clean'
|
||||||
|
|
||||||
task :test => ["cucumber"]
|
task :test => ["cucumber"]
|
||||||
|
|
||||||
require "middleman-deploy/pkg-info"
|
task :default => :test
|
||||||
|
|
||||||
PACKAGE = "#{Middleman::Deploy::PACKAGE}"
|
|
||||||
VERSION = "#{Middleman::Deploy::VERSION}"
|
|
||||||
|
|
||||||
task :package do
|
|
||||||
system "gem build #{PACKAGE}.gemspec"
|
|
||||||
end
|
|
||||||
|
|
||||||
task :install => :package do
|
|
||||||
Dir.chdir("pkg") do
|
|
||||||
system "gem install #{PACKAGE}-#{VERSION}"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
task :release => :package do
|
|
||||||
Dir.chdir("pkg") do
|
|
||||||
system "gem push #{PACKAGE}-#{VERSION}"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
task :default => :test
|
|
Loading…
Reference in a new issue