diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-08-12 19:33:03 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-08-14 07:50:37 +1000 |
commit | 961aa3145599bb7f44afb2eff9667c7ba5d28159 (patch) | |
tree | 2ee2935f0fff823dc5070072195101c298d36f30 /doc/languages-frameworks | |
parent | 6a4339974726bb78dc9f59d54859087ee5fbd429 (diff) |
buildGoModule: update deleteVendor docs
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/go.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml index eee4706e5519c..26414f23c7d2f 100644 --- a/doc/languages-frameworks/go.xml +++ b/doc/languages-frameworks/go.xml @@ -40,7 +40,9 @@ pet = buildGoModule rec { subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' /> - runVend = true; <co xml:id='ex-buildGoModule-3' /> + deleteVendor = true; <co xml:id='ex-buildGoModule-3' /> + + runVend = true; <co xml:id='ex-buildGoModule-4' /> meta = with lib; { description = "Simple command-line snippet manager, written in Go"; @@ -68,6 +70,11 @@ pet = buildGoModule rec { </callout> <callout arearefs='ex-buildGoModule-3'> <para> + <varname>deleteVendor</varname> removes the pre-existing vendor directory and fetches the dependencies. This should only be used if the dependencies included in the vendor folder are broken or incomplete. + </para> + </callout> + <callout arearefs='ex-buildGoModule-4'> + <para> <varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build. </para> </callout> |