forked from p53841790/wheat-cache
27 lines
438 B
Makefile
27 lines
438 B
Makefile
BASE_PATH = $(shell pwd)
|
|
STORAGE_PATH = $(BASE_PATH)/storage
|
|
BASE_OUT = $(BASE_PATH)/bin
|
|
|
|
dcgen:
|
|
@python3 ./shell/proto.py
|
|
|
|
.PHONY : build
|
|
build:
|
|
@cd storage && go build -o $(BASE_OUT)/storage
|
|
|
|
.PHONY: install
|
|
install:
|
|
@make build
|
|
|
|
.PHONY: dev
|
|
dev:
|
|
@./bin/storage storage
|
|
|
|
.PHONY: gen-struct
|
|
gen-struct:
|
|
@python3 ./shell/make-struct.py
|
|
|
|
.PHONY: gen-protobuf
|
|
gen-protobuf:
|
|
@python3 ./shell/gen_protobuf.py
|