update: update manage_run_server to run zig when build.zig file found

This commit is contained in:
Lucas F. 2025-12-12 18:00:40 -03:00
parent 93c3f204ec
commit 10039197de

View file

@ -217,7 +217,11 @@ function M.manage_run_server(custom_command)
if not file_exists "Makefile" then if not file_exists "Makefile" then
if not file_exists "makefile" then if not file_exists "makefile" then
if not file_exists "build.zig" then
custom_command = "./manage.py runserver 0.0.0.0:8000" custom_command = "./manage.py runserver 0.0.0.0:8000"
else
custom_command = "zig build run"
end
end end
end end