15 lines
265 B
Makefile
15 lines
265 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 ./...
|
|
|
|
run:
|
|
go run ./cmd/birthdaybot -config example-config.yml
|