Sha256: 51e268d79a128549929bb7e58d7546d78ed317ddb2a1f8b375b9d16e94bd5185

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 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

    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 --include_filter 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

5 entries across 5 versions & 1 rubygems

Version Path
bake-toolkit-2.12.2 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.12.1 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.12.0 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.11.4 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt
bake-toolkit-2.11.3 documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt