update pyproject

This commit is contained in:
Barrett Ruth 2025-10-03 22:38:24 -04:00
parent b8c79401da
commit 179b333505
7 changed files with 471 additions and 411 deletions

View file

@ -31,7 +31,7 @@ local function substitute_template(cmd_template, substitutions)
return out
end
local function build_command(cmd_template, executable, substitutions)
function M.build_command(cmd_template, executable, substitutions)
local cmd = substitute_template(cmd_template, substitutions)
if executable then
table.insert(cmd, 1, executable)
@ -198,10 +198,4 @@ function M.compile_problem(contest_config, is_debug)
return { success = true, output = nil }
end
M._util = {
get_language_from_file = get_language_from_file,
substitute_template = substitute_template,
build_command = build_command,
}
return M