1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-26 03:34:35 +02:00
fpm/Rakefile
2011-09-05 22:49:03 -07:00

18 lines
291 B
Ruby

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