Sha256: 7e617d95ff14b943a79b8cd045c37636019c00636adcc6f07bde80dff317c654

Contents?: true

Size: 1.84 KB

Versions: 29

Compression:

Stored size: 1.84 KB

Contents

The Bakery
==========

What is the Bakery
******************
bakery is part of the bake-toolkit distribution and it is used to build several independent projects at once.
It's very useful for e.g. compiling and running all unit tests.
The collections are specified in Collection.meta files.

How to use the Bakery on the commandline
****************************************
Call *bakery -h* to display the command line options.
The most important options are the collection name (*-b*) and the collection directory (*-m*, default is current directory).

Examples:

    Build all unittests:

    .. code-block:: console

        bakery -b AllUnitTests

    It is possible to omit *-b*:

    .. code-block:: console

        bakery AllUnitTests

    Clean all unittests:

    .. code-block:: console

        bakery -b AllUnitTests -c

    Build all unittests, workspace checked out into two roots, console supports colors, stop on first error, run the unittests after build:

    .. code-block:: console

        bakery -b AllUnitTests -m w:/root1/mainProj -w w:/root2 -r -a black --do run


Syntax of Collection.meta
*************************
Move the mouse cursor over the blue elements to display more information.

.. raw:: html
    :file: ../_static/syntax_collection_meta.html

.. note::

    * Use double quotes (") if the strings have wildcards
    * Use hash marks (#) for comments.

Example:

    .. code-block:: text

        Collection AllUnitTests {
            Project "*", config: UnitTest
        }
        Collection UnitTestLibsWithoutBsp {
            Project "*", config: "UnitTestLib*"
            Exclude "bsp*", config: "*"
        }
        Collection MySpecialCollection {
            Project Main1, config: Debug
            Project Main2, config: Release
            Project Sub3, config: Debug
            SubCollection UnitTestLibsWithoutBsp
        }


Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
bake-toolkit-2.29.4 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.29.3 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.29.2 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.29.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.28.1 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.28.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.27.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.26.1 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.26.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.25.1 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.25.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.6 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.5 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.4 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.3 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.2 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.1 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.24.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.23.12 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.23.8 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt