birthdaybot/Makefile
2023-07-11 16:43:20 +02:00

21 lines
327 B
Makefile

build:
mkdir -p dist
go build -o dist ./...
test:
GOTESTSUM_FORMAT=testname gotestsum --packages="./..."
test-watch:
GOTESTSUM_FORMAT=testname gotestsum --packages="./..." --watch
fmt:
go fmt ./...
lint:
golangci-lint run ./...
run:
go run ./cmd/birthdaybot -config example-config.yml
generate:
go generate ./...