19 lines
183 B
Makefile
19 lines
183 B
Makefile
.PHONY: all build run test check format
|
|
|
|
all: build run
|
|
|
|
build:
|
|
cd cmd/bot; go build -o ../../bin/bot
|
|
|
|
run:
|
|
bin/bot
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
check:
|
|
go vet ./...
|
|
|
|
format:
|
|
gofmt -l .
|