So to my understanding, this package emulates go mod vendor. However, in order to use the vendor directory with buildGoModule (see #116), the modules.txt file is required:
go: inconsistent vendoring in /build/source:
github.com/adrg/xdg@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/alecthomas/chroma/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
...
So to my understanding, this package emulates
go mod vendor
. However, in order to use thevendor
directory withbuildGoModule
(see #116), themodules.txt
file is required: