From 00deaece98f3dd0d5350cdc9ae2d39663395d755 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 6 May 2016 10:10:13 -0400 Subject: [PATCH] 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. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21e2fc1..8a68448 100644 --- a/README.md +++ b/README.md @@ -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/`: