From 0d61b39602fefb99f52465f35be8c1ae25749264 Mon Sep 17 00:00:00 2001 From: Samir Rashid Date: Sat, 22 Jun 2024 18:03:11 +0000 Subject: [PATCH] build `npm install` --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8d18b48..ae7604a 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ internal/protos/obc.pb.go: protos/obc.proto build-frontend-protos: houston/src/protos/houston.pb.ts houston/src/protos/obc.pb.ts -houston/src/protos/houston.pb.ts: protos/houston.proto +houston/src/protos/houston.pb.ts: protos/houston.proto houston/node_modules/.bin/protoc-gen-ts_proto protoc --plugin=houston/node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=fileSuffix=.pb --ts_proto_out=./houston/src/ ./protos/houston.proto houston/src/protos/obc.pb.ts: protos/obc.proto @@ -71,6 +71,9 @@ protos/houston.proto: protos/obc.proto: protos/houston.proto +houston/node_modules/.bin/protoc-gen-ts_proto: + cd houston && npm install + # Run # -------------------------------------------------------------------- .PHONY: run run-docker run-compose stop-compose run-broach-compose develop