Skip to content

Commit

Permalink
Merge pull request #2252 from hashicorp/f-govendor
Browse files Browse the repository at this point in the history
Switches over to govendor.
  • Loading branch information
slackpad authored Aug 9, 2016
2 parents 3a21d4b + 4882d94 commit f46957a
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 344 deletions.
319 changes: 0 additions & 319 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,5 @@ with MinGW.

## Vendoring

Consul currently uses [Godep](https://github.com/tools/godep) for vendoring. These
steps can be used to update dependencies in a controlled way.

Start by running a clean golang container:

```docker run -i -t -v `pwd`:/go/src/github.com/hashicorp/consul golang sh```

After that, you'll get a shell inside the container:

1. Run `go get github.com/tools/godep` to install Godep.
2. Run `cd /go/src/github.com/hashicorp/consul` to change to the Consul repo. Note
that we mounted that as a volume above into the `GOPATH`.
3. Run `godep restore` to update the container with the current state of dependencies
based on what's vendored.
4. Update dependencies as needed.
5. Run `godep save` and look at the results carefully before committing.
Consul currently uses [govendor](https://github.com/kardianos/govendor) for
vendoring.
Loading

0 comments on commit f46957a

Please sign in to comment.