mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
classes: document new go-vendor class
A reference to this class in the release notes will be added in a follow-up commit. (From yocto-docs rev: bfd38ad1056ded01a25acfa37e89302df2290ddf) Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d357a08fb1
commit
d72ace8e5a
@@ -939,6 +939,20 @@ The :ref:`ref-classes-go-mod` class allows to use Go modules, and inherits the
|
||||
|
||||
See the associated :term:`GO_WORKDIR` variable.
|
||||
|
||||
.. _ref-classes-go-vendor:
|
||||
|
||||
``go-vendor``
|
||||
=============
|
||||
|
||||
The :ref:`ref-classes-go-vendor` class implements support for offline builds,
|
||||
also known as Go vendoring. In such a scenario, the module dependencias are
|
||||
downloaded during the :ref:`ref-tasks-fetch` task rather than when modules are
|
||||
imported, thus being coherent with Yocto's concept of fetching every source
|
||||
beforehand.
|
||||
|
||||
The dependencies are unpacked into the modules' ``vendor`` directory, where a
|
||||
manifest file is generated.
|
||||
|
||||
.. _ref-classes-gobject-introspection:
|
||||
|
||||
``gobject-introspection``
|
||||
|
||||
Reference in New Issue
Block a user