From 53693fbb59a88d8eb5a214820c5ec1ea76d2460c Mon Sep 17 00:00:00 2001 From: olebedev Date: Mon, 23 Oct 2017 17:05:03 +0500 Subject: [PATCH] Replace glide by dep --- .gitignore | 1 + Gopkg.lock | 39 +++++++++++++++++++++++++++++++++++++++ Gopkg.toml | 10 ++++++++++ glide.lock | 21 --------------------- glide.yaml | 10 ---------- wercker.yml | 5 +++-- 6 files changed, 53 insertions(+), 33 deletions(-) create mode 100644 .gitignore create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml delete mode 100644 glide.lock delete mode 100644 glide.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22d0d82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vendor diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..b3e4546 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,39 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + name = "github.com/AlekSi/pointer" + packages = ["."] + revision = "08a25bac605b3fcb6cc27f3917b2c2c87451963d" + version = "v1.0.0" + +[[projects]] + name = "github.com/davecgh/go-spew" + packages = ["spew"] + revision = "346938d642f2ec3594ed81d874461961cd0faa76" + version = "v1.1.0" + +[[projects]] + name = "github.com/pkg/errors" + packages = ["."] + revision = "645ef00459ed84a119197bfb8d8205042c6df63d" + version = "v0.8.0" + +[[projects]] + name = "github.com/pmezard/go-difflib" + packages = ["difflib"] + revision = "792786c7400a136282c1664665ae0a8db921c6c2" + version = "v1.0.0" + +[[projects]] + name = "github.com/stretchr/testify" + packages = ["assert","require"] + revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0" + version = "v1.1.4" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "b030ea77a2f5c12ec1e814ed8ce37823c12ffa4098402351615f5988ee27817d" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..78e6307 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,10 @@ +[[constraint]] + name = "github.com/AlekSi/pointer" + +[[constraint]] + name = "github.com/pkg/errors" + version = "0.8.0" + +[[constraint]] + name = "github.com/stretchr/testify" + version = "1.1.4" diff --git a/glide.lock b/glide.lock deleted file mode 100644 index 2bde9e1..0000000 --- a/glide.lock +++ /dev/null @@ -1,21 +0,0 @@ -hash: cb75cfe26231b3186cc48b62ef2e25e5807b1346fe8f28153467c2d447eee038 -updated: 2017-01-13T12:09:02.766140737-08:00 -imports: -- name: github.com/AlekSi/pointer - version: 08a25bac605b3fcb6cc27f3917b2c2c87451963d -- name: github.com/pkg/errors - version: 645ef00459ed84a119197bfb8d8205042c6df63d -testImports: -- name: github.com/davecgh/go-spew - version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9 - subpackages: - - spew -- name: github.com/pmezard/go-difflib - version: d8ed2627bdf02c080bf22230dbb337003b7aba2d - subpackages: - - difflib -- name: github.com/stretchr/testify - version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0 - subpackages: - - assert - - require diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index a8630f1..0000000 --- a/glide.yaml +++ /dev/null @@ -1,10 +0,0 @@ -package: github.com/olebedev/when -import: -- package: github.com/AlekSi/pointer -- package: github.com/pkg/errors - version: ^0.8.0 -testImport: -- package: github.com/stretchr/testify - version: ^1.1.4 - subpackages: - - require diff --git a/wercker.yml b/wercker.yml index ffa7211..ac90da6 100644 --- a/wercker.yml +++ b/wercker.yml @@ -6,8 +6,9 @@ build: name: go get code: | go version - go get github.com/Masterminds/glide - glide install + go get -u -v github.com/golang/dep + go get -u -v github.com/golang/dep/cmd/dep + dep ensure - script: name: go test code: |