From 5cc6f1a2e9555b70c13b6036a7c52a4722e9493c Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Fri, 19 Oct 2018 14:11:22 -0400 Subject: [PATCH] Check in a .Gopkg.toml for testing --- .Gopkg.toml | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 1 + 2 files changed, 59 insertions(+) create mode 100644 .Gopkg.toml diff --git a/.Gopkg.toml b/.Gopkg.toml new file mode 100644 index 0000000..6baacca --- /dev/null +++ b/.Gopkg.toml @@ -0,0 +1,58 @@ +# Gopkg.toml example +# +# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html +# 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" +# +# [prune] +# non-go = false +# go-tests = true +# unused-packages = true + + +[[constraint]] + branch = "master" + name = "github.com/golang/glog" + +[[constraint]] + name = "github.com/miekg/dns" + version = "1.0.13" + +[[constraint]] + name = "github.com/prometheus/client_golang" + version = "0.9.0" + +[[constraint]] + branch = "master" + name = "golang.org/x/time" + +[[constraint]] + branch = "master" + name = "k8s.io/api" + +[[constraint]] + branch = "master" + name = "k8s.io/apimachinery" + +[[constraint]] + branch = "master" + name = "k8s.io/client-go" + +[prune] + go-tests = true + unused-packages = true diff --git a/Makefile b/Makefile index 53f409f..00bd08a 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ all: verify test dep: + cp .Gopkg.toml Gopkg.toml -dep init dep ensure