CHORE: Fixed bug #4 by looping dirs and creating directories before

other loops in creation.
LANG: Added CPP and bugfixed c to use c code and not python
This commit is contained in:
2026-10-23 08:25:21 -04:00
parent b6d46a0cef
commit 1c4a61ce7f
10 changed files with 382 additions and 33 deletions
+6
View File
@@ -14,6 +14,12 @@ function M.create(cfg, pname, root)
vim.fn.mkdir(root, "p")
local bin
for _, dir in pairs(cfg.dirs) do
local path = vim.fs.normalize(join(root, utils.fmt(dir, ctx)))
vim.fn.mkdir(path, "p")
end
for tbl_name, tbl in pairs(cfg.templates.project) do
local raw_path = join(tbl.path, tbl.name)
local path = utils.resolve_path(raw_path, cfg.dirs, ctx)