From 2cc9d1a122ab4646ea8ec52596ae6693c19a1f12 Mon Sep 17 00:00:00 2001 From: Kelly Norton Date: Mon, 17 Jun 2019 09:40:04 -0400 Subject: [PATCH] Update build instructions to not pull source twice. --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index abc76066..2ac9ba8f 100644 --- a/README.md +++ b/README.md @@ -103,23 +103,15 @@ Go tools work accordingly. See [Setting GOPATH](https://github.com/golang/go/wik up your Go workspace. With a `GOPATH` set, the following commands will build hound locally. ``` -<<<<<<< HEAD git clone https://github.com/hound-search/hound.git ${GOPATH}/src/github.com/hound-search/hound cd ${GOPATH}/src/github.com/hound-search/hound -======= -git clone https://github.com/hound-search/hound.git ${GOPATH}/src/github.com/etsy/hound -cd ${GOPATH}/src/github.com/etsy/hound ->>>>>>> Updated build instructions post-Etsy make ``` If this is your only Go project, you can set your GOPATH just for Hound: ``` -git clone https://github.com/hound-search/hound.git -cd hound -export GOPATH=`pwd` -go get github.com/etsy/hound/cmds/... -make +git clone https://github.com/hound-search/hound.git src/github.com/hound-search/hound +GOPATH=$(pwd) make -C src/github.com/hound-search/hound ``` ### Testing