diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-23 03:17:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-23 05:18:13 +0200 |
commit | 588b9f01ae1ac81844b52c095c9abcd9326d35a3 (patch) | |
tree | 26031461215b1b355971d1590bc0b946ed814f7e /README.md | |
parent | f70bd1fab32ce7d1bb482f97cbca0a3ec0c45e40 (diff) |
Adopt GOPATH
GOPATH is annoying, but the Go community pushing me to adopt it is even
more annoying.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -48,13 +48,11 @@ This will run on OpenBSD. It does not yet support sticky sockets. Fwmark is mapp ## Building -You can satisfy dependencies with either `go get -d -v` or `dep ensure -vendor-only`. Then run `make`. As this is a Go project, a `GOPATH` is required. For example, wireguard-go can be built with: +This requires an installation of [go](https://golang.org) and of [dep](https://github.com/golang/dep). If dep is not installed, it will be downloaded and built as part of the build process. ``` $ git clone https://git.zx2c4.com/wireguard-go $ cd wireguard-go -$ export GOPATH="$PWD/gopath" -$ go get -d -v $ make ``` |