mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
Move CI scripts to the Makefile.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
.PHONY: all osxkeychain test
|
||||
.PHONY: all deps osxkeychain test
|
||||
|
||||
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:
|
||||
go test ./...
|
||||
go test -v ./...
|
||||
|
||||
validate:
|
||||
go vet ./...
|
||||
golint ./...
|
||||
gofmt -s -l .
|
||||
|
||||
Reference in New Issue
Block a user