[rabbitmq-discuss] Plugin example using Rebar to manage dependancies
Simon MacMullen
simon at rabbitmq.com
Thu May 22 09:37:39 BST 2014
On 22/05/2014 09:14, Mark DeVilliers wrote:
> Failing that is there any guidance for managing dependencies rather than
> copying them into the plugin? A link to a working example would be awesome.
If using the RabbitMQ build system, you need a -wrapper repository for
each external dependency. This will clone the original project, patch it
as needed and build a .ez from it. The one for webmachine is probably
the simplest: http://hg.rabbitmq.com/webmachine-wrapper/. See the
package.mk file for where most things happen.
Then the plugin using it just needs to add the -wrapper project to its
DEPS line:
http://hg.rabbitmq.com/rabbitmq-management/file/6c5a6856eca4/package.mk#l2
Cheers, Simon
More information about the rabbitmq-discuss
mailing list