Skip to content

Commit

Permalink
Fix Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Nov 19, 2024
1 parent db59ecb commit 5828bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: api
.PHONY: api ui

PROTOC_PATH := ./ui/node_modules/grpc-tools/bin/protoc
PROTOC_ARGS := -I=./api --js_out=import_style=commonjs:./api/grpc-web --grpc-web_out=import_style=commonjs+dts,mode=grpcwebtext:./api/grpc-web/
Expand All @@ -10,4 +10,4 @@ api:
$(PROTOC_PATH) $(PROTOC_ARGS) api/api.proto

ui:
cd ui && yarn add file:./api/grpc-web && yarn install && yarn build
cd ui && yarn add file:../api/grpc-web && yarn install && yarn build

0 comments on commit 5828bf0

Please sign in to comment.