-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |