mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-31 08:37:35 -04:00
19 lines
264 B
Makefile
19 lines
264 B
Makefile
|
TEST?=./...
|
||
|
|
||
|
default: test
|
||
|
|
||
|
fmt: generate
|
||
|
go fmt ./...
|
||
|
|
||
|
test: generate
|
||
|
go get -t ./...
|
||
|
go test $(TEST) $(TESTARGS)
|
||
|
|
||
|
generate:
|
||
|
go generate ./...
|
||
|
|
||
|
updatedeps:
|
||
|
go get -u golang.org/x/tools/cmd/stringer
|
||
|
|
||
|
.PHONY: default generate test updatedeps
|