瀏覽代碼

Update Readme for building with modules enabled

morganamilo 6 年之前
父節點
當前提交
f556389fa8
共有 1 個文件被更改,包括 3 次插入4 次删除
  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