mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 21:25:16 +00:00
* Add the devsetting config options into settings * Create dropdown component and add setting controls * Static dropdwon width and spin arrow * Improve dropdown option contrast and border * Forgot to make the settings page respect the static spacing, oops * Smaller arrow * Vert padding * Reset option for settings * Hide reset button when on default * Respect the logLevel setting * Portal settings out to external typechecking module * Implement new configs using the new singleton Settings * Remove DevSettings * Update test runner to use new settings * More helpful test failure output * Support non-plugin environment * Migrate dropdown to new packages system * Clean up components a tad
19 lines
484 B
Lua
19 lines
484 B
Lua
return function()
|
|
it("should load all submodules", function()
|
|
local function loadRecursive(container)
|
|
if container:IsA("ModuleScript") and not container.Name:find("%.spec$") then
|
|
local success, err = pcall(require, container)
|
|
if not success then
|
|
error(string.format("Failed to load '%s': %s", container.Name, err))
|
|
end
|
|
end
|
|
|
|
for _, child in ipairs(container:GetChildren()) do
|
|
loadRecursive(child)
|
|
end
|
|
end
|
|
|
|
loadRecursive(script.Parent)
|
|
end)
|
|
end
|