From 0ad50259e9136292052f9ef272bb3b3ba9e83191 Mon Sep 17 00:00:00 2001 From: Guilherme Salazar Date: Wed, 22 Jan 2025 14:14:43 -0300 Subject: [PATCH] debug --- spec/internal/grpc.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/internal/grpc.lua b/spec/internal/grpc.lua index ec0f413ccb2..8c9978745c3 100644 --- a/spec/internal/grpc.lua +++ b/spec/internal/grpc.lua @@ -9,6 +9,9 @@ local CONSTANTS = require("spec.internal.constants") local function make(workdir, specs) workdir = pl_path.normpath(workdir or pl_path.currentdir()) + os.execute("which protoc") + assert(os.execute(string.format("cd %s; make clean && make targetservice/targetservice.pb.go", workdir))) + for _, spec in ipairs(specs) do local ok, _, stderr = shell.run(string.format("cd %s; %s", workdir, spec.cmd), nil, 0) assert(ok, stderr)