mirror of
https://github.com/jordansissel/fpm
synced 2025-04-20 13:28:00 +02:00
18 lines
304 B
Ruby
18 lines
304 B
Ruby
task :default => [:package]
|
|
|
|
task :test do
|
|
system("cd test; ruby alltests.rb")
|
|
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
|