bernd / fpm-cookery

A tool for building software packages with fpm.
Other
460 stars 88 forks source link

Allow to skip/delegate package building #86

Closed mlafeldt closed 10 years ago

mlafeldt commented 10 years ago

While fpm-cookery has the ability to skip package building altogether, it is currently not possible to set it from a recipe or the command line.

I found the need for such a switch when trying to build a package with debuild. fpm-cookery would clone the repo just fine, and I defined the build method to shell out to debuild for package building. But then fpm was called to build another set of (empty) packages.

I know that using a different build tool is probably not intended (at least at the moment). But it might still be useful to delegate building to other tools that are better suited for the job at hand.

To give you an example: If I have a Git repo with a debian folder, I don't need to rewrite debian/rules in Ruby just so that fpm-cookery could build it. Instead, I'd like fpm-cookery to do the cloning and then shell out to, e.g., debuild.

I'd love to hear your thoughts on this.

bernd commented 10 years ago

I added a --skip-package command line flag and released 0.23.0 to rubygems.