modules: Add noVendor to module config

Fixes #7647
This commit is contained in:
Bjørn Erik Pedersen 2020-09-09 21:10:28 +02:00
parent d05b541fe6
commit 50b8dace59

View File

@ -18,11 +18,16 @@ toc: true
{{< code-toggle file="config">}}
[module]
noVendor = ""
proxy = "direct"
noProxy = "none"
private = "*.*"
{{< /code-toggle >}}
noVendor {{< new-in "0.75.0" >}}
: A optional Glob pattern matching module paths to skip when vendoring, e.g. "github.com/**"
proxy
: Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar.