1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-14 00:11:28 +05:30
Files
docker-credential-helpers/Makefile
T
David Calavera 0c4810e01f Cleanup imports and vendor dependencies.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-02-22 19:06:32 -05:00

24 lines
531 B
Makefile

.PHONY: all deps osxkeychain test validate wincred
all: test
deps:
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