diff --git a/backend/.claude/settings.local.json b/backend/.claude/settings.local.json new file mode 100644 index 00000000..c0d67991 --- /dev/null +++ b/backend/.claude/settings.local.json @@ -0,0 +1,11 @@ +{ + "permissions": { + "allow": [ + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(git push:*)" + ], + "deny": [], + "ask": [] + } +} diff --git a/backend/mpc-system/Makefile b/backend/mpc-system/Makefile index f8992db2..a56f6be6 100644 --- a/backend/mpc-system/Makefile +++ b/backend/mpc-system/Makefile @@ -37,7 +37,11 @@ init: ## Initialize the project (install tools) proto: ## Generate protobuf code @echo "Generating protobuf..." - $(PROTOC) --go_out=. --go-grpc_out=. api/proto/*.proto + @mkdir -p api/grpc/coordinator/v1 + @mkdir -p api/grpc/router/v1 + $(PROTOC) --go_out=. --go_opt=paths=source_relative \ + --go-grpc_out=. --go-grpc_opt=paths=source_relative \ + api/proto/*.proto @echo "Protobuf generated successfully!" fmt: ## Format Go code