mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 09:44:26 +00:00
9fe4437bda
* Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
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
|