diff --git a/.gitignore b/.gitignore index 6c5c7d6..d66f960 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ # build file -/bin/storage \ No newline at end of file +/bin/storage +/bin/gateway \ No newline at end of file diff --git a/makefile b/makefile index 7558082..e790a1f 100644 --- a/makefile +++ b/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