Lastest release
Contents
- Code repository: https://code.launchpad.net/collective.recipe.rebar
- Questions and comments to https://answers.launchpad.net/collective.recipe.rebar
- Report bugs at https://bugs.launchpad.net/collective.recipe.rebar
Detailed Documentation
Supported options
The recipe supports the following options:
erlang-path The path where to find the erlc command.
url The URL to download the source distribution.
Example usage
We will define a buildout template used by the recipe:
>>> buildout_cfg = """ ... [buildout] ... parts = riak ... offline = true ... ... [riak] ... recipe = collective.recipe.rebar ... url = http://bitbucket.org/basho/riak/downloads/riak-0.8.1.tar.gz"""
We'll start by creating a buildout:
>>> import os.path >>> write('buildout.cfg', buildout_cfg)
Running the buildout gives us:
>>> output = system(buildout) >>> if output.endswith("==> riak (install)\nInstalling: riak-0.8\n==> erlang_js (install)\nInstalling: erlang_js-0.1\n"): True ... else: print output True
Contributors
Ali Sabil, Author