Skip to content

Commit

Permalink
Add basic docs for using dep
Browse files Browse the repository at this point in the history
  • Loading branch information
cblecker committed Nov 2, 2017
1 parent 76b1756 commit 0faa3d6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/dep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# kubernetes/test-infra dependency management

test-infra uses [`dep`](https://github.com/golang/dep) for Go dependency
management. `dep` is a prototype dependency management tool for Go. It requires
Go 1.8 or newer to compile.


## Setup

You can follow the [setup instructions](https://github.com/golang/dep#setup) to
set up `dep` in your local environment.


## Changing dependencies

You can use the `dep` instructions for [adding](https://github.com/golang/dep#adding-a-dependency),
[updating](https://github.com/golang/dep#updating-dependencies) or
[removing](https://github.com/golang/dep#removing-dependencies) a dependency.

Once you've updated, make sure to run:
```
dep prune
verify/update-bazel.sh
```

To prune unneeded deps, and then update all the bazel files that `dep` blows away.

0 comments on commit 0faa3d6

Please sign in to comment.