Skip to content

Commit

Permalink
Update build instructions to not pull source twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellegous committed Jun 17, 2019
1 parent 8b11bdf commit 2cc9d1a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cc9d1a

Please sign in to comment.