Rearrange the compilation steps in the README (#1176)

Emphasize `go get` as the main way to get the project.
This commit is contained in:
Paul Hoffman
2017-10-25 23:47:19 -07:00
committed by Miek Gieben
parent d01028d6f0
commit b5d8f2a3d1

View File

@@ -55,16 +55,16 @@ here](https://coredns.io). If you do want to use CoreDNS in production, please l
## Compilation
If you have the source of CoreDNS checked out in the appropriate place in your `GOPATH`, get all
dependencies:
Check out the project and do dependency resolution with:
go get ./...
(You can do the checkout and dependency resolution as a single step with: `go get github.com/coredns/coredns`.)
go get github.com/coredns/coredns
Some of the dependencies require Go version 1.8 or later.
And then `go build` as you would normally do:
(If you already have the source of CoreDNS checked out in the appropriate place in your `GOPATH`, you can get all
dependencies with `go get ./...`.)
Then use `go build` as you would normally do:
go build