21 lines
327 B
Makefile
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 ./...
|