Skip to content

Commit

Permalink
Document stub binary configuration options and command line arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed May 30, 2024
1 parent b7587b2 commit 17c301f
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
12 changes: 11 additions & 1 deletion docs/reference/commands/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ running:
$ briefcase build
``--update-support``
----------------------
--------------------

Update application support package before building. Equivalent to running:

Expand All @@ -84,6 +84,16 @@ Update application support package before building. Equivalent to running:
$ briefcase update --update-resources
$ briefcase build
``--update-stub``
-----------------

Update stub binary before building. Equivalent to running:

.. code-block:: console
$ briefcase update --update-stub
$ briefcase build
``--test``
----------

Expand Down
13 changes: 12 additions & 1 deletion docs/reference/commands/run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ running:
$ briefcase run
``--update-support``
----------------------
--------------------

Update application support package before running. Equivalent to running:

Expand All @@ -112,6 +112,17 @@ Update application support package before running. Equivalent to running:
$ briefcase build
$ briefcase run
``--update-stub``
-----------------

Update stub binary before running. Equivalent to running:

.. code-block:: console
$ briefcase update --update-stub
$ briefcase build
$ briefcase run
``--test``
----------

Expand Down
7 changes: 6 additions & 1 deletion docs/reference/commands/update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ Update application requirements.
Update application resources such as icons.

``--update-support``
----------------------
--------------------

Update application support package.

``--update-stub``
-----------------

Update stub binary.
20 changes: 20 additions & 0 deletions docs/reference/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,26 @@ color for splash screens.
If the platform output format does not use a splash screen, this setting is
ignored.

``stub_binary``
~~~~~~~~~~~~~~~

A file path or URL pointing at a pre-compiled binary (or a zip/tarball of a binary) that
can be used as an entry point for a bundled application.

If this setting is not provided, and a stub binary is required by the platform,
Briefcase will use the default stub binary for the platform.

``stub_binary_revision``
~~~~~~~~~~~~~~~~~~~~~~~~

The specific revision of the stub binary that should be used. By default, Briefcase will
use the stub binary revision nominated by the application template. If you specify a
stub binary revision, that will override the revision nominated by the application
template.

If you specify an explicit stub binary (using the ``stub_binary`` setting), this
argument is ignored.

``support_package``
~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 17c301f

Please sign in to comment.