Build/Public/base.lua

38 lines
602 B
Lua

local aurora = _G["Aurora"] or {}
_G["Aurora"] = aurora
function auFetchGlobal(name)
local ret = aurora[name] or {}
aurora[name] = ret
return ret
end
function auSetDefault(table, key, default)
if (not table[key]) then
table[key] = default
end
end
if (auFetchGlobal("Configured") == "true") then
return
end
aurora.Configured = "true"
-- add configuration
require("settings")
-- add utilities
require("./../Utilities")
--- update paths
require("paths")
-- add internal api
require("groups")
-- add api objects
require("objects")
-- add public api
require("api")