From b5d8f2a3d1b82d8198edae40d284ce78991b1c54 Mon Sep 17 00:00:00 2001 From: Paul Hoffman Date: Wed, 25 Oct 2017 23:47:19 -0700 Subject: [PATCH] Rearrange the compilation steps in the README (#1176) Emphasize `go get` as the main way to get the project. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 19f423578..eb9bd899a 100644 --- a/README.md +++ b/README.md @@ -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