Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #4396 from nogoegst/dep
Browse files Browse the repository at this point in the history
migrate vendor to golang/dep
  • Loading branch information
dgageot authored Mar 2, 2018
2 parents e5fca19 + 34a8dff commit a950319
Show file tree
Hide file tree
Showing 405 changed files with 244,450 additions and 35,338 deletions.
20 changes: 4 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,11 @@ Scrub build results:
make lint
make dco

### Restore, update and save dependencies
### Managing dependencies

When you make a fresh copy of the repo, all the dependecies are in `vendor/` directory for the builds to work. If you want to update the dependencies

#### Restore the dependencies

make dep-restore

This uses godep to restores all the dependencies to your `$GOPATH`. Note that this changes the packages in your `$GOPATH`

#### Add one ore more dependencies

go get -u <new dependency>

#### Save the dependencies to `vendor/`

make dep-save
When you make a fresh copy of the repo, all the dependencies are in `vendor/` directory for the build to work.
This project uses [golang/dep](https://github.com/golang/dep) as vendor management tool. Please refer to `dep` documentation
for further details.

4. Verify the changes in your repo, commit and submit a pull request

Expand Down
Loading

0 comments on commit a950319

Please sign in to comment.