instruct to flatten dependencies with glide
This commit is contained in:
parent
bfc7b3d183
commit
51e9f3ede2
1 changed files with 2 additions and 2 deletions
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
|
@ -48,14 +48,14 @@ This can be verified via `$ go env`
|
||||||
|
|
||||||
The idea behind `glide` is the following :
|
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`.
|
(`go get …`) the dependencies in your `GOPATH`.
|
||||||
- if you need another dependency, import and use it in
|
- if you need another dependency, import and use it in
|
||||||
the source, and run `$ glide get github.com/Masterminds/cookoo` to save it in
|
the source, and run `$ glide get github.com/Masterminds/cookoo` to save it in
|
||||||
`vendor` and add it to your `glide.yaml`.
|
`vendor` and add it to your `glide.yaml`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ glide install
|
$ glide install --strip-vendor
|
||||||
# generate (Only required to integrate other components such as web dashboard)
|
# generate (Only required to integrate other components such as web dashboard)
|
||||||
$ go generate
|
$ go generate
|
||||||
# Standard go build
|
# Standard go build
|
||||||
|
|
Loading…
Reference in a new issue