mirror of
https://github.com/kopia/kopia.git
synced 2026-02-18 23:19:08 -05:00
42 lines
795 B
Makefile
42 lines
795 B
Makefile
all: install test lint vet
|
|
|
|
install:
|
|
go install github.com/kopia/kopia/cmd/kopia
|
|
|
|
build:
|
|
go build github.com/kopia/kopia/...
|
|
|
|
play:
|
|
go run cmd/playground/main.go
|
|
|
|
lint:
|
|
golint github.com/kopia/kopia/...
|
|
|
|
vet:
|
|
go vet github.com/kopia/kopia/...
|
|
|
|
deps:
|
|
go get -u -t -v github.com/kopia/kopia/...
|
|
|
|
dev-deps:
|
|
go get -u golang.org/x/tools/cmd/gorename
|
|
go get -u github.com/golang/lint/golint
|
|
go get -u golang.org/x/tools/cmd/oracle
|
|
go get -u github.com/nsf/gocode
|
|
go get -u github.com/rogpeppe/godef
|
|
go get -u github.com/lukehoban/go-outline
|
|
go get -u github.com/newhook/go-symbols
|
|
go get -u github.com/sqs/goreturns
|
|
|
|
test:
|
|
go test -timeout 30s github.com/kopia/kopia/...
|
|
|
|
vtest:
|
|
go test -v -timeout 30s github.com/kopia/kopia/...
|
|
|
|
godoc:
|
|
godoc -http=:33333
|
|
|
|
coverage:
|
|
./coverage.sh
|