Skip to content

Commit

Permalink
wip3
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr committed Jan 23, 2025
1 parent feed13a commit 0d309f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/internal/grpc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ 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)))
assert(os.execute(string.format("echo $PATH && 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)
local ok, _, stderr = shell.run(string.format("echo $PATH && cd %s && %s", workdir, spec.cmd), nil, 0)
assert(ok, stderr)
end

Expand Down

0 comments on commit 0d309f4

Please sign in to comment.