mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 18:23:25 +00:00
19 lines
369 B
Makefile
19 lines
369 B
Makefile
test: clean
|
|
go test -v ./command -cover
|
|
|
|
test-grep: clean
|
|
go test -v ./command -check.f=$(e)
|
|
|
|
cover: clean
|
|
go test -v ./command -coverprofile=/tmp/coverage.out
|
|
go tool cover -html=/tmp/coverage.out
|
|
|
|
clean:
|
|
find . -name flymake_* -delete
|
|
|
|
sloccount:
|
|
find . -name "*.go" -print0 | xargs -0 wc -l
|
|
|
|
install: clean
|
|
go install github.com/gravitational/teleport/tctl
|