3ce43329f5
target_config.lua and target_config_check.lua don't pass a table of callbacks anymore, so target_config_lib.lua can by simplified by moving all the code that was in the returned function to the toplevel.
6 lines
136 B
Lua
Executable File
6 lines
136 B
Lua
Executable File
local lib = dofile('scripts/target_config_lib.lua')
|
|
|
|
for _, config in pairs(lib.configs) do
|
|
io.stdout:write(config:format(), '\n')
|
|
end
|