Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 291 Bytes
task :default => [:package]
task :test do
system("make -C test")
end
task :package => [:test, :package_real] do
end
task :package_real do
system("gem build fpm.gemspec")
end
task :publish do
latest_gem = %x{ls -t fpm*.gem}.split("\n").first
system("gem push #{latest_gem}")
end
Something went wrong with that request. Please try again.