summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/classes.rst
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-07-29 11:56:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-08 23:41:10 +0100
commitf191e6fe987f72519dbc14da1b10b92b549e6356 (patch)
treefbabb7470eef3aa471162fbb60f6b53bccc06b72 /documentation/ref-manual/classes.rst
parentba0d3de2d789e2f624076b6a23f94d59e8d36774 (diff)
downloadpoky-f191e6fe987f72519dbc14da1b10b92b549e6356.tar.gz
ref-manual/classes.rst: document the go-mod-update-modules class
Added by commit 34bb889ffaae ("classes/go-mod-update-modules: add class to generate module list") in OE-Core. (From yocto-docs rev: b1a9848d2bba9e1392d153ff992304b83b259318) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r--documentation/ref-manual/classes.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 0f4405b98f..586930f667 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -1003,6 +1003,21 @@ The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the
1003 1003
1004See the associated :term:`GO_WORKDIR` variable. 1004See the associated :term:`GO_WORKDIR` variable.
1005 1005
1006.. _ref-classes-go-mod-update-modules:
1007
1008``go-mod-update-modules``
1009=========================
1010
1011The :ref:`ref-classes-go-mod-update-modules` class can be used in Go recipes and
1012defines a ``do_update_modules`` task that can be run manually to update two
1013files ("BPN" below corresponds to :term:`BPN`):
1014
1015- ``BPN-go-mods.inc``: list of Go modules the recipe depends on.
1016- ``BPN-licenses.inc``: list of licenses for each Go modules the recipe depends
1017 on.
1018
1019These files can then updated automatically with the ``do_update_modules`` task.
1020
1006.. _ref-classes-go-vendor: 1021.. _ref-classes-go-vendor:
1007 1022
1008``go-vendor`` 1023``go-vendor``