birthdaybot/Makefile

22 lines
327 B
Makefile
Raw Permalink Normal View History

2023-06-30 09:42:27 +01:00
build:
mkdir -p dist
go build -o dist ./...
2023-06-29 22:46:17 +01:00
test:
GOTESTSUM_FORMAT=testname gotestsum --packages="./..."
test-watch:
GOTESTSUM_FORMAT=testname gotestsum --packages="./..." --watch
fmt:
go fmt ./...
2023-07-01 16:23:19 +01:00
2023-07-11 15:43:20 +01:00
lint:
golangci-lint run ./...
2023-07-01 16:23:19 +01:00
run:
go run ./cmd/birthdaybot -config example-config.yml
generate:
go generate ./...