.. _module-build-local:

module-build-local
==================

.. program:: module-build-local

Synopsis
--------

::

    sample-rpkg module-build-local [-h] [--file [FILE_PATH]]
                                   [--stream [STREAM]] [--skip-tests]
                                   [--add-local-build N:S:V] [-s N:S]

Description
-----------

Build a module locally using the mbs-manager command



Options
-------

.. option:: -h --help

   show this help message and exit

.. option:: --file

   The module's modulemd yaml file. If not specified, a yaml file with the same basename as the name of the repository will be used.

.. option:: --stream

   The module's stream/SCM branch. This defaults to the current checked-out branch.

.. option:: --skip-tests

   Adds a macro for skipping the check section

.. option:: --add-local-build

   Import previously finished local module builds into MBS in the format of name:stream or name:stream:version

.. option:: -s --set-default-stream

   Set the default stream for given module dependency in case there are multiple streams to choose from.