Skip to content

Commit

Permalink
Enable the dep pruning option to keep the vendor dir slim (kubernetes…
Browse files Browse the repository at this point in the history
…-sigs#43)

Add the Prune section in the Gopkg.toml
Run the "make build" that would run "dep ensure" removing the unused
parts from the vendor directory
  • Loading branch information
sidharthsurana authored and k8s-ci-robot committed Sep 17, 2018
1 parent 97fe670 commit fa9ce73
Show file tree
Hide file tree
Showing 7,258 changed files with 5 additions and 2,545,625 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 5 additions & 5 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true

required = [
"k8s.io/code-generator/cmd/deepcopy-gen",
]

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

[[constraint]]
name = "sigs.k8s.io/cluster-api"
branch = "master"
Expand Down
13 changes: 0 additions & 13 deletions vendor/bitbucket.org/ww/goautoneg/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions vendor/bitbucket.org/ww/goautoneg/README.txt

This file was deleted.

33 changes: 0 additions & 33 deletions vendor/bitbucket.org/ww/goautoneg/autoneg_test.go

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/NYTimes/gziphandler/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions vendor/github.com/NYTimes/gziphandler/.travis.yml

This file was deleted.

75 changes: 0 additions & 75 deletions vendor/github.com/NYTimes/gziphandler/CODE_OF_CONDUCT.md

This file was deleted.

30 changes: 0 additions & 30 deletions vendor/github.com/NYTimes/gziphandler/CONTRIBUTING.md

This file was deleted.

52 changes: 0 additions & 52 deletions vendor/github.com/NYTimes/gziphandler/README.md

This file was deleted.

70 changes: 0 additions & 70 deletions vendor/github.com/NYTimes/gziphandler/gzip_go18_test.go

This file was deleted.

Loading

0 comments on commit fa9ce73

Please sign in to comment.