Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.54 kB
require 'rake/testtask'
task :default => [:package]
task :test do
system("make -C test")
Rake::Task[:minitest].invoke # Run these tests as well.
# Eventually all the tests should be minitest-run or initiated.
end
# MiniTest tests
Rake::TestTask.new do |t|
t.pattern = 'test/fpm/*.rb'
t.name = 'minitest'
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
Jump to Line
Something went wrong with that request. Please try again.