From f5585907b2973f580679b893d53a0c15106f74d7 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Wed, 1 Aug 2018 19:30:13 -0700 Subject: [PATCH] Migrate from glide to dep --- Gopkg.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Gopkg.toml | 15 ++++++++++++++ README.md | 2 +- glide.lock | 30 ---------------------------- glide.yaml | 9 --------- 5 files changed, 73 insertions(+), 40 deletions(-) create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml delete mode 100644 glide.lock delete mode 100644 glide.yaml diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..30b1bc1 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,57 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + name = "github.com/davecgh/go-spew" + packages = ["spew"] + revision = "346938d642f2ec3594ed81d874461961cd0faa76" + version = "v1.1.0" + +[[projects]] + branch = "master" + name = "github.com/maruel/panicparse" + packages = ["stack"] + revision = "4417700b5a8d33fbb4416bb04359d20329f60008" + +[[projects]] + name = "github.com/mattn/go-runewidth" + packages = ["."] + revision = "9e777a8366cce605130a531d2cd6363d07ad7317" + version = "v0.0.2" + +[[projects]] + branch = "master" + name = "github.com/mitchellh/go-wordwrap" + packages = ["."] + revision = "ad45545899c7b13c020ea92b2072220eefad42b8" + +[[projects]] + branch = "master" + name = "github.com/nsf/termbox-go" + packages = ["."] + revision = "5c94acc5e6eb520f1bcd183974e01171cc4c23b3" + +[[projects]] + name = "github.com/pmezard/go-difflib" + packages = ["difflib"] + revision = "792786c7400a136282c1664665ae0a8db921c6c2" + version = "v1.0.0" + +[[projects]] + name = "github.com/stretchr/testify" + packages = ["assert"] + revision = "f35b8ab0b5a2cef36673838d662e249dd9c94686" + version = "v1.2.2" + +[[projects]] + branch = "master" + name = "golang.org/x/net" + packages = ["websocket"] + revision = "f4c29de78a2a91c00474a2e689954305c350adf9" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "0d20d9e695a3033eb9c49b41a66787c1465e6cc8ba4f8d7ef8488b3b686b530d" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..ecf4d0b --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,15 @@ +[[constraint]] + name = "github.com/maruel/panicparse" + branch = "master" + +[[constraint]] + name = "github.com/davecgh/go-spew" + version = "1.1.0" + +[[constraint]] + name = "github.com/mitchellh/go-wordwrap" + branch = "master" + +[prune] + go-tests = true + unused-packages = true diff --git a/README.md b/README.md index e012203..4ad2883 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Now version v2 has arrived! It brings new event system, new theme system, new `B go get -u github.com/gizak/termui -It is recommanded to use locked deps by using [glide](https://glide.sh): move to `termui` src directory then run `glide up`. +It is recommanded to use locked deps by using [dep](https://golang.github.io/dep/): move to `termui` src directory then run `dep ensure`. For the compatible reason, you can choose to install the legacy version of `termui`: diff --git a/glide.lock b/glide.lock deleted file mode 100644 index be5952d..0000000 --- a/glide.lock +++ /dev/null @@ -1,30 +0,0 @@ -hash: 7a754ba100256404a978b2fc8738aee337beb822458e4b6060399fb89ebd215c -updated: 2016-11-03T17:39:24.323773674-04:00 -imports: -- name: github.com/maruel/panicparse - version: ad661195ed0e88491e0f14be6613304e3b1141d6 - subpackages: - - stack -- name: github.com/mattn/go-runewidth - version: 737072b4e32b7a5018b4a7125da8d12de90e8045 -- name: github.com/mitchellh/go-wordwrap - version: ad45545899c7b13c020ea92b2072220eefad42b8 -- name: github.com/nsf/termbox-go - version: b6acae516ace002cb8105a89024544a1480655a5 -- name: golang.org/x/net - version: 569280fa63be4e201b975e5411e30a92178f0118 - subpackages: - - websocket -testImports: -- name: github.com/davecgh/go-spew - version: 346938d642f2ec3594ed81d874461961cd0faa76 - subpackages: - - spew -- name: github.com/pmezard/go-difflib - version: d8ed2627bdf02c080bf22230dbb337003b7aba2d - subpackages: - - difflib -- name: github.com/stretchr/testify - version: 976c720a22c8eb4eb6a0b4348ad85ad12491a506 - subpackages: - - assert diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index a681231..0000000 --- a/glide.yaml +++ /dev/null @@ -1,9 +0,0 @@ -package: github.com/gizak/termui -import: -- package: github.com/mattn/go-runewidth -- package: github.com/mitchellh/go-wordwrap -- package: github.com/nsf/termbox-go -- package: golang.org/x/net - subpackages: - - websocket -- package: github.com/maruel/panicparse