feat: added build pristine, build configuration, erase and recover
This commit is contained in:
1 parent
80a2c4d56f
commit
5b1d640d4b
11 files changed
+636
-80
No files matched your search
+2
-2
@@ -16,7 +16,7 @@ function M.ncs_version(root)
|
||||
return out[#out]
|
||||
end
|
||||
|
||||
--- Toolchain más reciente: { dir, gcc }.
|
||||
--- Toolchain más reciente: { dir, gcc, mtime }.
|
||||
function M.toolchain(root)
|
||||
local out = {}
|
||||
for _, d in ipairs(vim.fn.glob(root .. "/*", false, true)) do
|
||||
@@ -32,7 +32,7 @@ function M.toolchain(root)
|
||||
return out[1]
|
||||
end
|
||||
|
||||
--- Board: lo lee del CMakeCache si ya hay build; si no, nil.
|
||||
--- Board desde el CMakeCache si ya existe build; si no, nil.
|
||||
function M.board(build_dir)
|
||||
local f = io.open(build_dir .. "/CMakeCache.txt", "r")
|
||||
if not f then
|
||||
|
||||
Reference in new issue
Block a user