6639e7afbe
Updated the test script to include new options for dependencies, client number, and additional files. Docker environment now supports a more flexible configuration using a .mod_env.json file.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"current_mod": "playerfactions_ext",
|
|
"dependencies": [{
|
|
"url":"https://github.com/minetest/minetest_game/archive/refs/heads/master.tar.gz",
|
|
"path":"/usr/local/share/minetest/games/minetest",
|
|
"strip":1
|
|
},{
|
|
"url":"https://github.com/mt-mods/playerfactions/archive/refs/heads/updated_5.9.0.tar.gz",
|
|
"path": "/usr/local/share/minetest/games/minetest/mods/playerfactions",
|
|
"strip":1
|
|
},{
|
|
"url":"https://forge.apps.education.fr/iri/minetest/docker_test_harness/-/archive/main/docker_test_harness-main.tar.gz",
|
|
"path": "/usr/local/share/minetest/games/minetest/mods/test_harness",
|
|
"strip":1
|
|
}],
|
|
"minetest_add_conf": "",
|
|
"client_nb": 2,
|
|
"additional_mods": "",
|
|
"additional_files": [{
|
|
"path": "/var/lib/minetest/.minetest/world/factions/playerfactions.conf",
|
|
"content": {
|
|
"packages": {
|
|
"ichi": [
|
|
"default:dirt 100",
|
|
"default:pick_steel 1 30000"
|
|
],
|
|
"nidan": [
|
|
"default:stone 30"
|
|
]
|
|
},
|
|
"priv_groups": {
|
|
"teacher": [
|
|
"give",
|
|
"shout",
|
|
"teleport",
|
|
"worldedit"
|
|
],
|
|
"Tago":["!shout"]
|
|
}
|
|
}
|
|
}]
|
|
}
|