Skip to content

Commit

Permalink
update doc for go mod (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
shizhMSFT authored Jun 15, 2020
1 parent c4facb5 commit 3a7c320
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,11 @@ make build-windows

To remove all files not manged by git, run `make clean` (be careful!)

## Adding/updating dependencies
## Managing dependencies

Requires [dep](https://golang.github.io/dep/).
[Using Go Modules](https://blog.golang.org/using-go-modules) to manage dependencies.

Add new dependencies directly to `Gopkg.toml` and run `dep ensure`.

To update all dependencies, run `make update-deps`.

After doing any action above, please make sure to run `make fix-deps`,
which will fix some issue with how dependencies are resolved.

Please check in all changes in the `vendor/` directory.
To update or add new dependencies, run `go get <package name>`.

## Cutting a new release

Expand Down

0 comments on commit 3a7c320

Please sign in to comment.