Don't use go install $(glide novendor) in examples.
This will build all (non-vendored) packages recursively, even if they are not used in any of the binaries (e.g. votingpool). Additionally, since a subshell is no longer used, the example commands can be run in a Windows command prompt. I don't encourage the use cmd.exe over alternatives such as PowerShell, but there's no reason this command could not be run there.
This commit is contained in:
parent
250818957e
commit
00deaece98
1 changed files with 2 additions and 3 deletions
|
@ -114,15 +114,14 @@ glide install
|
|||
|
||||
The `go` tool is used to build or install (to `GOPATH`) the project. Some
|
||||
example build instructions are provided below (all must run from the `btcwallet`
|
||||
project directory) in a `sh`-compatible shell on Unix, or PowerShell on Windows
|
||||
(`$()` subshells are not supported by `cmd`).
|
||||
project directory).
|
||||
|
||||
To build and install `btcwallet` and all helper commands (in the `cmd`
|
||||
directory) to `$GOPATH/bin/`, as well as installing all compiled packages to
|
||||
`$GOPATH/pkg/` (**use this if you are unsure which command to run**):
|
||||
|
||||
```
|
||||
go install $(glide novendor)
|
||||
go install . ./cmd/...
|
||||
```
|
||||
|
||||
To build a `btcwallet` executable and install it to `$GOPATH/bin/`:
|
||||
|
|
Loading…
Reference in a new issue