Skip to main content

Recipe for rebar based applications

Project description

.. 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:

.. Note to recipe author!
----------------------
For each option the recipe uses you should include a description
about the purpose of the option, the format and semantics of the
values it accepts, whether it is mandatory or optional and what the
default value is if it is omitted.

option1
Description for ``option1``...

option2
Description for ``option2``...


Example usage
=============

.. Note to recipe author!
----------------------
zc.buildout provides a nice testing environment which makes it
relatively easy to write doctests that both demonstrate the use of
the recipe and test it.
You can find examples of recipe doctests from the PyPI, e.g.

http://pypi.python.org/pypi/zc.recipe.egg

The PyPI page for zc.buildout contains documentation about the test
environment.

http://pypi.python.org/pypi/zc.buildout#testing-support

Below is a skeleton doctest that you can start with when building
your own tests.

We'll start by creating a buildout that uses the recipe::

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = collective.recipe.rebar
... option1 = %(foo)s
... option2 = %(bar)s
... """ % { 'foo' : 'value1', 'bar' : 'value2'})

Running the buildout gives us::

>>> print 'start', system(buildout)
start...
Installing test1.
Unused options for test1: 'option2' 'option1'.
<BLANKLINE>



Contributors
************

Ali Sabil, Author


Change history
**************

1.0.0 (2010-03-09)
----------------

- Created recipe
[Ali Sabil]

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.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

collective.recipe.rebar-1.0.0-py2.6.egg (8.6 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