bernd / fpm-cookery

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

Add multiple source support #168

Open sychevyi opened 8 years ago

sychevyi commented 8 years ago

Heya! One of my recipes requires fetching multiple source files (several tars and git repositories) to build package. So I've implemented source handler which allows you to specify array of sources in recipe.rb instead of one url. You can see example of usage here

Additionally I've added directory option to curl source handler, it allows to extract source to builddir sub-directory.

Also it doesn't break any tests (at least bundle exec rake runs without failures) and works good for me.