local strict = require("strict")
require("buildconfig")
+local initialized = false
+
local toollist = {
which = { name = "which", flags = "", optional = false },
curl = { name = "curl", flags = "", optional = false },
if error then
return false, "missing mandatory tools"
end
+ initialized = true
return true, nil
end
+--- Check whether the tools library is initialized.
+-- @return True or false.
+function tools.isinitialized()
+ return initialized
+end
+
return strict.lock(tools)
-- vim:sw=4:sts=4:et: