Build/Public/base.lua

38 lines
605 B
Lua
Raw Normal View History

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 (table[key] == nil) 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")