Files
velero/site/content/docs/v0.5.0/vendoring-dependencies.md
Tony Batard c663ce15ab Hugo migration (#2720)
* Move files to a Hugo structure

Signed-off-by: Tony Batard <tbatard@pivotal.io>
2020-08-13 09:09:15 -07:00

615 B

title, layout
title layout
Vendoring dependencies docs

Overview

We are using dep to manage dependencies. You can install it by running

go get -u github.com/golang/dep/cmd/dep

Dep currently pulls in a bit more than we'd like, so we have created a script to remove these extra files: hack/dep-save.sh.

Adding a new dependency

Run hack/dep-save.sh. If you want to see verbose output, you can append -v as in hack/dep-save.sh -v.

Updating an existing dependency

Run hack/dep-save.sh -update <pkg> [<pkg> ...] to update one or more dependencies.