Adding go dep to the project

This commit is contained in:
Steven Leibrock 2017-10-10 15:01:52 -04:00
parent 206a9073f0
commit 13a95a348a
10 changed files with 52 additions and 27 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ host_key.pub
ssh-chat
*.log
.*
vendor/
*.lock

19
.gitmodules vendored
View File

@ -1,19 +0,0 @@
[submodule "vendor/github.com/alexcesaro/log"]
path = vendor/github.com/alexcesaro/log
url = https://github.com/alexcesaro/log
branch = master
[submodule "vendor/github.com/jessevdk/go-flags"]
path = vendor/github.com/jessevdk/go-flags
url = https://github.com/jessevdk/go-flags
branch = master
[submodule "vendor/github.com/shazow/rateio"]
path = vendor/github.com/shazow/rateio
url = https://github.com/shazow/rateio
branch = master
[submodule "vendor/github.com/dustin/go-humanize"]
path = vendor/github.com/dustin/go-humanize
url = https://github.com/dustin/go-humanize
branch = master
[submodule "vendor/github.com/howeyc/gopass"]
path = vendor/github.com/howeyc/gopass
url = https://github.com/howeyc/gopass.git

View File

@ -4,14 +4,15 @@ notifications:
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
env:
- CGO_ENABLED=0
install:
- go get -t ./...
- go get -u github.com/golang/dep
- go get github.com/gordonklaus/ineffassign
script:

46
Gopkg.toml Normal file
View File

@ -0,0 +1,46 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
[[constraint]]
branch = "master"
name = "github.com/alexcesaro/log"
[[constraint]]
branch = "master"
name = "github.com/dustin/go-humanize"
[[constraint]]
branch = "master"
name = "github.com/howeyc/gopass"
[[constraint]]
name = "github.com/jessevdk/go-flags"
version = "1.3.0"
[[constraint]]
branch = "master"
name = "github.com/shazow/rateio"
[[constraint]]
branch = "master"
name = "golang.org/x/crypto"

View File

@ -14,7 +14,7 @@ $(BINARY): deps **/**/*.go **/*.go *.go
go build $(BUILDFLAGS) ./cmd/ssh-chat
deps:
go get ./...
dep ensure
build: $(BINARY)

1
vendor/github.com/alexcesaro/log generated vendored

@ -1 +0,0 @@
Subproject commit 61e686294e58a8698a9e1091268bb4ac1116bd5e

@ -1 +0,0 @@
Subproject commit 2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8

1
vendor/github.com/howeyc/gopass generated vendored

@ -1 +0,0 @@
Subproject commit 26c6e1184fd5255fa5f5289d0b789a4819c203a4

@ -1 +0,0 @@
Subproject commit f2785f5820ec967043de79c8be97edfc464ca745

1
vendor/github.com/shazow/rateio generated vendored

@ -1 +0,0 @@
Subproject commit e8e00881e5c12090412414be41c04ca9c8a71106