1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00
luanti/src/script
JosiahWI 4125ce877d
Do not discover mod directories that fail parsing (#15917)
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC.
2025-03-19 18:43:19 +01:00
..
common Replace object visual by enum (#15681) 2025-03-06 21:02:11 +01:00
cpp_api Add unittest that lints builtin JSON files 2025-03-04 19:53:01 +01:00
lua_api Do not discover mod directories that fail parsing (#15917) 2025-03-19 18:43:19 +01:00
CMakeLists.txt In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
scripting_client.cpp In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
scripting_client.h In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
scripting_emerge.cpp Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
scripting_emerge.h Refactor ScriptApiSecurity for cleaner separation of concerns 2024-11-13 14:22:41 +01:00
scripting_mainmenu.cpp In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
scripting_mainmenu.h Implement script sandboxing for main menu 2024-11-13 14:22:41 +01:00
scripting_pause_menu.cpp PauseMenuScripting: resolve absolute 'builtin' path before substring check (#15720) 2025-02-02 19:04:50 +01:00
scripting_pause_menu.h In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
scripting_server.cpp Replace licensing text in headers (LGPLv2.1) (#15321) 2024-10-28 15:57:39 +01:00
scripting_server.h Refactor ScriptApiSecurity for cleaner separation of concerns 2024-11-13 14:22:41 +01:00