Skip to main content

Recipe for rebar based applications

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.recipe.rebar, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size collective.recipe.rebar-1.0.1-py2.6.egg (8.4 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size collective.recipe.rebar-1.0.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page