2
0
mirror of https://github.com/namecoin/ncdns synced 2024-11-16 00:13:01 +00:00

Merge #110: Fix build instructions for external x509

9d294da Add missing `git checkout` to build instructions (JeremyRand)
86206ee Fix build instructions for external x509 (JeremyRand)

Pull request description:

  Fixes https://github.com/namecoin/ncdns/issues/109

ACKs for commit 9d294d:

Tree-SHA512: 45f71e9d82a4be7e939236a6b14a7aef53c6f1518e681a6b488728142f92a20915e0d26528b2649349d67ba419914434dc5d5834fb21eed5201c4875748ddc7c
This commit is contained in:
JeremyRand 2019-09-29 19:50:31 +00:00
commit 3f037e8724
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

View File

@ -99,9 +99,25 @@ Option A: Using Go build commands (works on any platform with Bash):
2. Run `go get -d -t -u github.com/namecoin/ncdns/...`. The ncdns source code will be
retrieved automatically.
3. Run `go generate github.com/namecoin/ncdns/...`. Some source code will be generated.
3. Run `pushd $(go env GOPATH)/src/github.com/namecoin/x509-signature-splice`.
4. Run `go get -t github.com/namecoin/ncdns/...`. ncdns will be built. The binaries will be at
4. Depending on your Go version (run `go version` to check), run one of the following:
| **Go version** | **Run this** |
-------------------|-----------------------|
| 1.8.x or earlier | `git checkout go1.6` |
| 1.9.x | `git checkout go1.9` |
| 1.10.x | `git checkout go1.10` |
| 1.11.x | `git checkout go1.11` |
| 1.12.x | `git checkout go1.12` |
| 1.13.x or later | `git checkout master` |
5. Run `popd`.
6. Run `go generate github.com/namecoin/x509-signature-splice/...`. Some source code will be generated.
7. Run `go get -t github.com/namecoin/ncdns/...`. ncdns will be built. The binaries will be at
$GOPATH/bin/ncdns.
Option B: Using Makefile (non-Windows platforms):