Commit b5d8f2a3 authored by Paul Hoffman's avatar Paul Hoffman Committed by Miek Gieben

Rearrange the compilation steps in the README (#1176)

Emphasize `go get` as the main way to get the project.
parent d01028d6
...@@ -55,16 +55,16 @@ here](https://coredns.io). If you do want to use CoreDNS in production, please l ...@@ -55,16 +55,16 @@ here](https://coredns.io). If you do want to use CoreDNS in production, please l
## Compilation ## Compilation
If you have the source of CoreDNS checked out in the appropriate place in your `GOPATH`, get all Check out the project and do dependency resolution with:
dependencies:
go get ./... go get github.com/coredns/coredns
(You can do the checkout and dependency resolution as a single step with: `go get github.com/coredns/coredns`.)
Some of the dependencies require Go version 1.8 or later. 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 go build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment