Parcourir la source

Update Readme for building with modules enabled

morganamilo il y a 6 ans
Parent
commit
f556389fa8
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  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