Skip to content

Commit f908ac4

Browse files
authored
add dev dependencies to make setup (#12)
* add dev dependencies to `make setup` * golint fix * update README
1 parent b976d83 commit f908ac4

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ ci: check binaries checkprotos coverage coverage-integration ## to be used by th
3333

3434
setup: ## install dependencies
3535
@echo "🎈 $@"
36+
@go get -u github.com/golang/lint/golint
37+
@go get -u github.com/gordonklaus/ineffassign
38+
@go get -u github.com/client9/misspell/cmd/misspell
3639
@go get -u github.com/Masterminds/glide
3740
@glide install
3841

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@ Wormhole is a reverse proxy that creates a secure tunnel between two endpoints.
99
## Compiling
1010
**Wormhole requires Go1.7+**
1111

12-
go get github.com/Masterminds/glide
13-
mkdir -p $GOPATH/github.com/superfly
14-
cd $GOPATH/src/github.com/superfly
15-
git clone git@github.com:superfly/wormhole.git
16-
cd wormhole
17-
glide install
18-
go build github.com/superfly/wormhole/cmd/wormhole
19-
12+
go get github.com/superfly/wormhole
13+
cd $GOPATH/src/github.com/superfly/wormhole
14+
make setup
15+
make binaries
2016

2117
## Running locally
2218

local/ssh_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func (s *SSHHandler) stayAlive() {
172172

173173
if needReply && replyLatency > maxKeepaliveLatency {
174174
s.logger.Infof("Last Keepalive: %v, Last Keepalive reply: %v", lastKeepalive, lastKeepaliveReply)
175-
err := fmt.Errorf("Connection stale, haven't gotten Keepalive reply in %d seconds. Closing connection.", int(replyLatency.Seconds()))
175+
err := fmt.Errorf("ssh_handler: connection stale, haven't gotten keepalive reply in %d seconds", int(replyLatency.Seconds()))
176176
s.shutdown.Begin(err)
177177
return
178178
}

0 commit comments

Comments
 (0)