mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 08:41:58 +02:00
21 lines
338 B
Makefile
21 lines
338 B
Makefile
run:
|
|
go run cmd/main.go
|
|
|
|
test:
|
|
go test -p=1 -count=1 -failfast -timeout 15m ./internal/...
|
|
|
|
lint:
|
|
golangci-lint fmt ./cmd/... ./internal/... && golangci-lint run ./cmd/... ./internal/...
|
|
|
|
migration-create:
|
|
goose create $(name) sql
|
|
|
|
migration-up:
|
|
goose up
|
|
|
|
migration-down:
|
|
goose down
|
|
|
|
swagger:
|
|
swag init -g ./cmd/main.go -o swagger
|