From a1b2d03a715f0a93e6fa22199418ae0df588f523 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sat, 26 Jun 2021 03:10:05 +0200 Subject: [PATCH] Move some files --- API.md | 2 +- init.lua | 4 ++-- {etc => tests}/test_custom_recipes.lua | 0 {etc => tests}/test_online_recipe.json | 0 {etc => tests}/test_tabs.lua | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename {etc => tests}/test_custom_recipes.lua (100%) rename {etc => tests}/test_online_recipe.json (100%) rename {etc => tests}/test_tabs.lua (100%) diff --git a/API.md b/API.md index 4bf8448..e3c0b49 100644 --- a/API.md +++ b/API.md @@ -141,7 +141,7 @@ Recipes can be registered from a given URL containing a JSON file (HTTP support ```Lua i3.register_craft({ - url = "https://raw.githubusercontent.com/minetest-mods/i3/main/etc/test_online_recipe.json" + url = "https://raw.githubusercontent.com/minetest-mods/i3/main/tests/test_online_recipe.json" }) ``` diff --git a/init.lua b/init.lua index a1f5eb6..ba29987 100644 --- a/init.lua +++ b/init.lua @@ -3317,5 +3317,5 @@ for size, rcp in pairs(bag_recipes) do core.register_craft {type = "fuel", recipe = bagname, burntime = 3} end ---dofile(modpath .. "/etc/test_tabs.lua") ---dofile(modpath .. "/etc/test_custom_recipes.lua") +--dofile(modpath .. "/tests/test_tabs.lua") +--dofile(modpath .. "/tests/test_custom_recipes.lua") diff --git a/etc/test_custom_recipes.lua b/tests/test_custom_recipes.lua similarity index 100% rename from etc/test_custom_recipes.lua rename to tests/test_custom_recipes.lua diff --git a/etc/test_online_recipe.json b/tests/test_online_recipe.json similarity index 100% rename from etc/test_online_recipe.json rename to tests/test_online_recipe.json diff --git a/etc/test_tabs.lua b/tests/test_tabs.lua similarity index 100% rename from etc/test_tabs.lua rename to tests/test_tabs.lua