more idiomatic

This commit is contained in:
Tom Vaughan 2012-08-20 17:11:30 -07:00
parent ff2459c26e
commit 11fb03033f

View file

@ -21,9 +21,13 @@ task :build do
end end
task :install => :build do task :install => :build do
system "gem install pkg/#{PACKAGE}-#{VERSION}" Dir.chdir("pkg") do
system "gem install #{PACKAGE}-#{VERSION}"
end
end end
task :release => :build do task :release => :build do
system "gem push pkg/#{PACKAGE}-#{VERSION}" Dir.chdir("pkg") do
system "gem push #{PACKAGE}-#{VERSION}"
end
end end