Skip to content

Commit

Permalink
*: remove vendoring
Browse files Browse the repository at this point in the history
specs-go acts as a package. No need to have vendoring in here as it
would just cause major pain to people using the specs Go library.

Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Jan 25, 2017
1 parent 84a74b0 commit 393e2a4
Show file tree
Hide file tree
Showing 45 changed files with 0 additions and 11,735 deletions.
13 changes: 0 additions & 13 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,6 @@ Invocation:
$ make check-license
```

### Update vendored dependencies

This target updates all vendored dependencies to their newest available versions. The `glide` tools is being used for the actual management and `glide-vc` tool is being used for stripping down the vendor directory size.

Prerequisites:
* [glide](https://github.com/Masterminds/glide)
* [glide-vc](https://github.com/sgotti/glide-vc)

Invocation:
```
$ make update-deps
```

### Clean build artifacts

This target cleans all generated/compiled artifacts.
Expand Down
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ help:
@echo " * 'check-license' - check license headers in source files"
@echo " * 'lint' - Execute the source code linter"
@echo " * 'test' - Execute the unit tests"
@echo " * 'update-deps' - Update vendored dependencies"
@echo " * 'img/*.png' - Generate PNG from dot file"

fmt:
Expand Down Expand Up @@ -94,14 +93,6 @@ lint:
test:
go test -race -cover $(shell go list ./... | grep -v /vendor/)

## this uses https://github.com/Masterminds/glide and https://github.com/sgotti/glide-vc
update-deps:
@which glide > /dev/null 2>/dev/null || (echo "ERROR: glide not found. Consider 'make install.tools' target" && false)
glide update --strip-vcs --strip-vendor --update-vendored --delete
glide-vc --only-code --no-tests --use-lock-file
# see http://sed.sourceforge.net/sed1line.txt
find vendor -type f -exec sed -i="" -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' "{}" \;

img/%.png: img/%.dot
dot -Tpng $^ > $@

Expand Down
22 changes: 0 additions & 22 deletions glide.lock

This file was deleted.

11 changes: 0 additions & 11 deletions glide.yaml

This file was deleted.

191 changes: 0 additions & 191 deletions vendor/github.com/opencontainers/go-digest/LICENSE.code

This file was deleted.

Loading

0 comments on commit 393e2a4

Please sign in to comment.