2020-11-05 16:51:20 +00:00
|
|
|
APP=mcstatus
|
|
|
|
|
|
|
|
run: build
|
|
|
|
./$(APP)
|
|
|
|
|
|
|
|
doc:
|
|
|
|
godoc -http=:6090 -index
|
|
|
|
|
|
|
|
build:
|
|
|
|
go build
|
|
|
|
|
|
|
|
debs:
|
|
|
|
go get ./...
|
|
|
|
|
|
|
|
update-debs:
|
|
|
|
go get -u ./...
|
|
|
|
|
|
|
|
fmt:
|
|
|
|
gofmt -l -s .
|
|
|
|
|
|
|
|
clean:
|
|
|
|
go clean
|
|
|
|
|
|
|
|
proto:
|
|
|
|
protoc --go_out=/home/michael/go/src response.proto
|
|
|
|
|
2020-12-15 21:13:50 +00:00
|
|
|
.PHONY: run doc build debs update-debs fmt proto
|