forked from p53841790/wheat-cache
chore(conf): update conf and makefule
This commit is contained in:
parent
ec8a126581
commit
3adeac539b
|
@ -18,3 +18,4 @@
|
||||||
|
|
||||||
# build file
|
# build file
|
||||||
/bin/storage
|
/bin/storage
|
||||||
|
/bin/gateway
|
19
makefile
19
makefile
|
@ -7,19 +7,28 @@ dcgen:
|
||||||
@python3 ./shell/proto.py
|
@python3 ./shell/proto.py
|
||||||
@python3 ./shell/make-struct.py
|
@python3 ./shell/make-struct.py
|
||||||
|
|
||||||
.PHONY : build
|
.PHONY: build-storage
|
||||||
build:
|
build-storage:
|
||||||
@cd storage && go build -o $(BASE_OUT)/storage
|
@cd storage && go build -o $(BASE_OUT)/storage
|
||||||
|
|
||||||
|
.PHONY: build-gateway
|
||||||
|
build-gateway:
|
||||||
|
@cd gateway && go build -o $(BASE_OUT)/gateway
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
@make gen-middleware
|
@make gen-middleware
|
||||||
@make build
|
@make build-storage
|
||||||
|
@make build-gateway
|
||||||
|
|
||||||
.PHONY: dev
|
.PHONY: storage
|
||||||
dev:
|
storage:
|
||||||
@./bin/storage storage
|
@./bin/storage storage
|
||||||
|
|
||||||
|
.PHONY: gateway
|
||||||
|
gateway:
|
||||||
|
@./bin/gateway gateway
|
||||||
|
|
||||||
.PHONY: gen-struct
|
.PHONY: gen-struct
|
||||||
gen-struct:
|
gen-struct:
|
||||||
@python3 ./shell/make-struct.py
|
@python3 ./shell/make-struct.py
|
||||||
|
|
Loading…
Reference in New Issue