Skip to content

Commit

Permalink
Check in a .Gopkg.toml for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wongma7 committed Oct 19, 2018
1 parent 570bb6c commit 5cc6f1a
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .Gopkg.toml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
all: verify test

dep:
cp .Gopkg.toml Gopkg.toml
-dep init
dep ensure

Expand Down

0 comments on commit 5cc6f1a

Please sign in to comment.