mcstatus/Makefile

30 lines
361 B
Makefile

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 \
--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