update: update manage_run_server to run zig when build.zig file found
This commit is contained in:
parent
93c3f204ec
commit
10039197de
1 changed files with 5 additions and 1 deletions
|
|
@ -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 "build.zig" then
|
||||
custom_command = "./manage.py runserver 0.0.0.0:8000"
|
||||
else
|
||||
custom_command = "zig build run"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue