Skip to content

jkanywhere/fpm-rake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPM::Rake

FPM is a great tool to build and convert between a variety of package formats.

Rake is a great tool to automate Ruby build and release tasks.

FPM::Rake provides a Rake task for converting a gem into an RPM package using fpm.

Currently only RPM is supported. Please consider implementing and submitting tasks for other package formats supported by fpm.

The RPM configuration is currently very specify to my ruby1.9 setup, I would appreciate input on how to expose fpm's many configuration options to users of the Rake task.

No relation to curzonj's Fpm::Rake.

Installation

Add this line to your application's Gemfile:

gem 'fpm-rake'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fpm-rake

Usage

In your Rakefile add

require "fpm/rake_tasks"

To package your gem itself in RPM format run

rake rpm:build

To package each of your gem's dependencies into RPM format run

rake rpm:dependencies

To remove all .rpm files from the pkg directory run

rake rpm:clean

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please send comments and feedback. Does this FPM::Rake fit into your workflow?

About

Provide Raks task(s) for converting a gem into another package format with fpm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages