Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Jan 22, 2025
1 parent 470db20 commit 0ad5025
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/internal/grpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0ad5025

Please sign in to comment.