mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
415 B
15 lines
415 B
3 years ago
|
.PHONY: help test
|
||
|
.DEFAULT_GOAL := help
|
||
|
|
||
|
help: ## Displays this help message.
|
||
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
||
|
|
||
|
test: ## Runs the linter, tests, and vetting.
|
||
|
golangci-lint run ./...
|
||
|
go test -cover -race -count=1 ./...
|
||
|
go vet ./...
|
||
|
|
||
|
ci: ## Runs on the tests and vetting for CI.
|
||
|
go test -cover -race -count=1 ./...
|
||
|
go vet ./...
|