You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read name and dependencies from mod.conf if file is present.
Set modname config value default and automatically set modpaths for hard dependencies (probably to fixtures dir).
Currently there's 2 ways to set modname:
mineunit.conf configuration file
Writing directly to mineunit._config.modname
Modname is important for very basic stuff like node registration and such. Even with forced registrations testing will be more accurate if modname is correctly set.
Priority for actual modname should be:
Direct writing to mineunit._config.modname.
mineunit.conf configuration file.
mod.conf configuration file.
The text was updated successfully, but these errors were encountered:
Reading dependencies require bit more work because of possible custom multi line format.
It would however be very helpful if mod paths could be set automatically for hard dependencies so that calls to minetest.get_modpath(...) would actually return expected values.
Read
name
anddependencies
frommod.conf
if file is present.Set
modname
config value default and automatically set modpaths for hard dependencies (probably to fixtures dir).Currently there's 2 ways to set modname:
mineunit.conf
configuration filemineunit._config.modname
Modname is important for very basic stuff like node registration and such. Even with forced registrations testing will be more accurate if modname is correctly set.
Priority for actual modname should be:
mineunit._config.modname
.mineunit.conf
configuration file.mod.conf
configuration file.The text was updated successfully, but these errors were encountered: