vendor: Switch to using `go dep`
* Adding go dep to the project * Adding lockfile and changing README Go version
This commit is contained in:
parent
206a9073f0
commit
2078e13819
|
@ -4,3 +4,4 @@ host_key.pub
|
|||
ssh-chat
|
||||
*.log
|
||||
.*
|
||||
vendor/
|
||||
|
|
|
@ -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
|
|
@ -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:
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/alexcesaro/log"
|
||||
packages = [".","golog"]
|
||||
revision = "61e686294e58a8698a9e1091268bb4ac1116bd5e"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/dustin/go-humanize"
|
||||
packages = ["."]
|
||||
revision = "79e699ccd02f240a1f1fbbdcee7e64c1c12e41aa"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/howeyc/gopass"
|
||||
packages = ["."]
|
||||
revision = "bf9dde6d0d2c004a008c27aaee91170c786f6db8"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/jessevdk/go-flags"
|
||||
packages = ["."]
|
||||
revision = "96dc06278ce32a0e9d957d590bb987c81ee66407"
|
||||
version = "v1.3.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/shazow/rateio"
|
||||
packages = ["."]
|
||||
revision = "e8e00881e5c12090412414be41c04ca9c8a71106"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/crypto"
|
||||
packages = ["curve25519","ed25519","ed25519/internal/edwards25519","ssh","ssh/terminal"]
|
||||
revision = "9419663f5a44be8b34ca85f08abc5fe1be11f8a3"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/sys"
|
||||
packages = ["unix","windows"]
|
||||
revision = "ebfc5b4631820b793c9010c87fd8fef0f39eb082"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "36fa3b8ab2269908ef899a2f5b7320cb792d3a1039cb68afc8b51becde57f850"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
|
@ -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"
|
2
Makefile
2
Makefile
|
@ -14,7 +14,7 @@ $(BINARY): deps **/**/*.go **/*.go *.go
|
|||
go build $(BUILDFLAGS) ./cmd/ssh-chat
|
||||
|
||||
deps:
|
||||
go get ./...
|
||||
dep ensure
|
||||
|
||||
build: $(BINARY)
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ amd64, and ARM6 for your RaspberryPi).
|
|||
## Compiling / Developing
|
||||
|
||||
You can compile ssh-chat by using `make build`. The resulting binary is portable and
|
||||
can be run on any system with a similar OS and CPU arch. Go 1.3 or higher is required to compile.
|
||||
can be run on any system with a similar OS and CPU arch. Go 1.8 or higher is required to compile.
|
||||
|
||||
If you're developing on this repo, there is a handy Makefile that should set
|
||||
things up with `make run`.
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 61e686294e58a8698a9e1091268bb4ac1116bd5e
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 26c6e1184fd5255fa5f5289d0b789a4819c203a4
|
|
@ -1 +0,0 @@
|
|||
Subproject commit f2785f5820ec967043de79c8be97edfc464ca745
|
|
@ -1 +0,0 @@
|
|||
Subproject commit e8e00881e5c12090412414be41c04ca9c8a71106
|
Loading…
Reference in New Issue