Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (13 sloc) 0.304 kb
63494e9 @jordansissel - Add gem packaging
authored
1 task :default => [:package]
2
3 task :test do
4 system("cd test; ruby alltests.rb")
5 end
6
7 task :package => [:test, :package_real] do
8 end
9
10 task :package_real do
11 system("gem build fpm.gemspec")
12 end
13
14 task :publish do
15 latest_gem = %x{ls -t fpm*.gem}.split("\n").first
16 system("gem push #{latest_gem}")
17 end
Something went wrong with that request. Please try again.