mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
13 lines
334 B
Makefile
13 lines
334 B
Makefile
# Usage: make run ARGS="start --pg-host localhost"
|
|
run:
|
|
go run cmd/main.go $(ARGS)
|
|
|
|
build:
|
|
CGO_ENABLED=0 go build -ldflags "-X main.Version=$(VERSION)" -o databasus-agent ./cmd/main.go
|
|
|
|
test:
|
|
go test -count=1 -failfast ./internal/...
|
|
|
|
lint:
|
|
golangci-lint fmt ./cmd/... ./internal/... && golangci-lint run ./cmd/... ./internal/...
|