Skip to content

Commit

Permalink
Remove unsed stuff from the vendor dir.
Browse files Browse the repository at this point in the history
From now run `make vendor` to re-add missing packages from vendord packages
  • Loading branch information
databus23 committed Nov 16, 2017
1 parent 26d8cd3 commit e4fe5c0
Show file tree
Hide file tree
Showing 6,215 changed files with 12 additions and 1,892,633 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ BUILD_ARGS+= --build-arg http_proxy=$(http_proxy) --build-arg https_proxy=$(http
endif

HAS_GLIDE := $(shell command -v glide;)
HAS_GLIDE_VC := $(shell command -v glide-vc;)
GO_SWAGGER_VERSION := 0.12.0
SWAGGER_BIN := bin/$(GOOS)/swagger-$(GO_SWAGGER_VERSION)

.PHONY: all clean code-gen client-gen informer-gen lister-gen
.PHONY: all clean code-gen client-gen informer-gen lister-gen vendor

all: $(BINARIES:%=bin/$(GOOS)/%)

Expand Down Expand Up @@ -97,7 +98,17 @@ clean:
include code-generate.mk
code-gen: client-gen informer-gen lister-gen

vendor:
ifndef HAS_GLIDE_VC
$(error glide-vc (vendor cleaner) not found. Run `make bootstrap to fix.`)
endif
glide install -v
glide-vc --only-code --no-tests

bootstrap: $(SWAGGER_BIN)
ifndef HAS_GLIDE
brew install glide
endif
ifndef HAS_GLIDE_VC
go get -u github.com/sgotti/glide-vc
endif
5 changes: 0 additions & 5 deletions vendor/github.com/BurntSushi/toml/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/github.com/BurntSushi/toml/.travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/BurntSushi/toml/COMPATIBLE

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/BurntSushi/toml/Makefile

This file was deleted.

218 changes: 0 additions & 218 deletions vendor/github.com/BurntSushi/toml/README.md

This file was deleted.

61 changes: 0 additions & 61 deletions vendor/github.com/BurntSushi/toml/_examples/example.go

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/github.com/BurntSushi/toml/_examples/example.toml

This file was deleted.

Loading

0 comments on commit e4fe5c0

Please sign in to comment.