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