1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Cleanup imports and vendor dependencies.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera
2016-02-22 18:00:05 -05:00
parent b643be2751
commit 0c4810e01f
10 changed files with 345 additions and 15 deletions
+10 -10
View File
@@ -1,23 +1,23 @@
.PHONY: all deps osxkeychain test
.PHONY: all deps osxkeychain test validate wincred
all: test
deps:
go get -t ./...
go get github.com/golang/lint/golint
osxkeychain:
mkdir -p bin
go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
test:
# tests all packages except vendor
go test -v `go list ./... | grep -v /vendor/`
validate:
go vet ./credentials ./osxkeychain
golint `go list ./... | grep -v /vendor/`
gofmt -s -l `ls **/*.go | grep -v vendor`
wincred:
mkdir -p bin
go build -o bin/docker-credential-wincred wincred/cmd/main_windows.go
test:
go test -v ./...
validate:
go vet ./...
golint ./...
gofmt -s -l .