Skip to content

Commit

Permalink
Cleanup vendor (#5726)
Browse files Browse the repository at this point in the history
* Cleanup vendor
  • Loading branch information
im-kulikov authored and ngaut committed Jan 29, 2018
1 parent 93a042b commit cfe44e8
Show file tree
Hide file tree
Showing 95 changed files with 480 additions and 17,583 deletions.
26 changes: 5 additions & 21 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
# 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"

ignored = ["github.com/coreos/etcd/etcdserver", "github.com/coreos/etcd/mvcc", "github.com/coreos/etcd/auth"]

[prune]
non-go = true
go-tests = true
unused-packages = true

[[constraint]]
branch = "master"
name = "github.com/BurntSushi/toml"
Expand Down
2 changes: 2 additions & 0 deletions hack/clean_vendor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ find vendor \( -type f -or -type l \) -not -name "*.go" -not -name "LICENSE" -n
# delete all test files
find vendor -type f -name "*_generated.go" | xargs -I {} rm {}
find vendor -type f -name "*_test.go" | xargs -I {} rm {}
find vendor -type d -name "_vendor" | xargs -I {} rm -rf {}
find vendor -type d -empty | xargs -I {} rm -rf {}
16 changes: 16 additions & 0 deletions vendor/github.com/apache/thrift/contrib/fb303/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

202 changes: 202 additions & 0 deletions vendor/github.com/apache/thrift/lib/hs/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions vendor/github.com/coreos/etcd/auth/doc.go

This file was deleted.

Loading

0 comments on commit cfe44e8

Please sign in to comment.