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

Download

Project details


Download files

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

Source Distribution

collective.recipe.rebar-1.0.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

collective.recipe.rebar-1.0.1-py2.6.egg (8.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page