skip to navigation
skip to content

collective.recipe.rebar 1.0.1

Recipe for rebar based applications

Downloads ↓

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

Change history

1.0.1 (2010-03-10)

  • Improved the documentation

1.0.0 (2010-03-09)

  • Created recipe
 
File Type Py Version Uploaded on Size # downloads
collective.recipe.rebar-1.0.1-py2.6.egg (md5) Python Egg 2.6 2010-03-10 8KB 565
collective.recipe.rebar-1.0.1.tar.gz (md5) Source 2010-03-10 3KB 499