carvel-dev / kwt

Kubernetes Workstation Tools CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue building from source

drnic opened this issue · comments

$ go version
go version go1.13 darwin/amd64
$ dep ensure
$ git status
	modified:   Gopkg.lock
	modified:   vendor/golang.org/x/crypto/ssh/mux.go
$ ./hack/build.sh
+ go fmt ./cmd/... ./pkg/... ./test/...
+ go build ./cmd/...
# github.com/k14s/kwt/pkg/kwt/net/dstconn
pkg/kwt/net/dstconn/ssh_client.go:109:26: undefined: ssh.UnexpectedPackerErr

/cc @cppforlife

Ok, sorry; got this working when I undid the changes from dep ensure:

$ git checkout .
$ ./hack/build.sh

+ go fmt ./cmd/... ./pkg/... ./test/...
+ go build ./cmd/...
+ ./kwt version
Client Version: 0.0.5

Succeeded
+ ./hack/generate-docs.sh
+ export KWT_KUBECONFIG=
+ KWT_KUBECONFIG=
+ export KWT_NAMESPACE=
+ KWT_NAMESPACE=
+ go run ./hack/generate-docs.go
+ echo Success
Success
+ echo Success
Success