Explorar o código

Update Readme for building with modules enabled

morganamilo %!s(int64=6) %!d(string=hai) anos
pai
achega
f556389fa8
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      README.md

+ 3 - 4
README.md

@@ -87,10 +87,9 @@ Following are the dependencies managed under dep:
 Run `make` to build Yay. This command will generate a binary called `yay` in
 the same directory as the Makefile.
 
-Note: Yay's Makefile automatically sets the `GOPATH` to `$PWD/.go`. This path will
-ensure dependencies in `vendor/` are built. Running manual go commands such as
-`go build` will require that you either set the `GOPATH` manually or `go get`
-the vendored dependencies into your own `GOPATH`.
+Note: Yay's Makefile sources its dependencies from `vendor/`. When
+building manually, dependencies will instead be sourced from `GOPATH`. To
+build against `vendor/` you must specify `-mod=vendor` in the build command.
 
 ### Code Style