Add lockfile and make lockfile default install revision

This commit is contained in:
Stephan Seitz 2020-08-26 21:05:27 +02:00 committed by Kiyan Yazdani
parent 98c12ec23a
commit 0a51d492a5
5 changed files with 145 additions and 48 deletions

View file

@ -20,7 +20,8 @@ end
local config = {
modules = {},
ensure_installed = {}
ensure_installed = {},
update_strategy = 'lockfile',
}
-- List of modules that need to be setup on initialization.
local queued_modules_defs = {}
@ -415,4 +416,8 @@ function M.init()
end
end
function M.get_update_strategy()
return config.update_strategy
end
return M