mcstatus/Makefile

30 lines
361 B
Makefile
Raw Permalink Normal View History

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:
2022-06-22 03:05:10 +00:00
protoc \
--proto_path=/usr/local/include/google/protobuf \
--proto_path=protobuf/ \
--go_out=$(GOPATH)/src protobuf/*.proto
.PHONY: run doc build debs update-debs fmt proto