From 51e9f3ede26f01486ee3ab1f4005301de9887fac Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Sun, 1 Jan 2017 15:32:50 +0100 Subject: [PATCH] instruct to flatten dependencies with glide --- .github/CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 11fa07646..1c15a7b16 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -48,14 +48,14 @@ This can be verified via `$ go env` The idea behind `glide` is the following : -- when checkout(ing) a project, run `$ glide install` from the cloned directory to install +- when checkout(ing) a project, run `$ glide install -v` from the cloned directory to install (`go get …`) the dependencies in your `GOPATH`. - if you need another dependency, import and use it in the source, and run `$ glide get github.com/Masterminds/cookoo` to save it in `vendor` and add it to your `glide.yaml`. ```bash -$ glide install +$ glide install --strip-vendor # generate (Only required to integrate other components such as web dashboard) $ go generate # Standard go build