diff --git a/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt b/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt index 83ed515..4ec4336 100644 --- a/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt +++ b/src/main/kotlin/app/shosetsu/lib/lua/ShosetsuLuaLib.kt @@ -303,23 +303,23 @@ class ShosetsuLuaLib : TwoArgFunction() { } private val permaLuaFuncs by lazy { mapOf( - "GET" to loadResource("GET.lua"), - "POST" to loadResource("POST.lua"), - "map" to loadResource("map.lua"), - "mapNotNil" to loadResource("mapNotNil.lua"), - "filter" to loadResource("filter.lua"), - "map2flat" to loadResource("map2flat.lua"), - "first" to loadResource("first.lua"), - "wrap" to loadResource("wrap.lua"), - "flatten" to loadResource("flatten.lua"), - "pipeline" to loadResource("pipeline.lua"), - "pageOfElem" to loadResource("pageOfElem.lua"), - "NodeVisitor" to loadResource("NodeVisitor.lua"), - "Novel" to loadResource("Novel.lua"), - "NovelInfo" to loadResource("NovelInfo.lua"), - "NovelChapter" to loadResource("NovelChapter.lua"), - "ChapterType" to loadResource("ChapterType.lua"), - "NovelStatus" to loadResource("NovelStatus.lua") + "GET" to loadResource("lua/GET.lua"), + "POST" to loadResource("lua/POST.lua"), + "map" to loadResource("lua/map.lua"), + "mapNotNil" to loadResource("lua/mapNotNil.lua"), + "filter" to loadResource("lua/filter.lua"), + "map2flat" to loadResource("lua/map2flat.lua"), + "first" to loadResource("lua/first.lua"), + "wrap" to loadResource("lua/wrap.lua"), + "flatten" to loadResource("lua/flatten.lua"), + "pipeline" to loadResource("lua/pipeline.lua"), + "pageOfElem" to loadResource("lua/pageOfElem.lua"), + "NodeVisitor" to loadResource("lua/NodeVisitor.lua"), + "Novel" to loadResource("lua/Novel.lua"), + "NovelInfo" to loadResource("lua/NovelInfo.lua"), + "NovelChapter" to loadResource("lua/NovelChapter.lua"), + "ChapterType" to loadResource("lua/ChapterType.lua"), + "NovelStatus" to loadResource("lua/NovelStatus.lua") ) } } diff --git a/src/main/resources/ChapterType.lua b/src/main/resources/lua/ChapterType.lua similarity index 100% rename from src/main/resources/ChapterType.lua rename to src/main/resources/lua/ChapterType.lua diff --git a/src/main/resources/GET.lua b/src/main/resources/lua/GET.lua similarity index 100% rename from src/main/resources/GET.lua rename to src/main/resources/lua/GET.lua diff --git a/src/main/resources/NodeVisitor.lua b/src/main/resources/lua/NodeVisitor.lua similarity index 100% rename from src/main/resources/NodeVisitor.lua rename to src/main/resources/lua/NodeVisitor.lua diff --git a/src/main/resources/Novel.lua b/src/main/resources/lua/Novel.lua similarity index 100% rename from src/main/resources/Novel.lua rename to src/main/resources/lua/Novel.lua diff --git a/src/main/resources/NovelChapter.lua b/src/main/resources/lua/NovelChapter.lua similarity index 100% rename from src/main/resources/NovelChapter.lua rename to src/main/resources/lua/NovelChapter.lua diff --git a/src/main/resources/NovelInfo.lua b/src/main/resources/lua/NovelInfo.lua similarity index 100% rename from src/main/resources/NovelInfo.lua rename to src/main/resources/lua/NovelInfo.lua diff --git a/src/main/resources/NovelStatus.lua b/src/main/resources/lua/NovelStatus.lua similarity index 100% rename from src/main/resources/NovelStatus.lua rename to src/main/resources/lua/NovelStatus.lua diff --git a/src/main/resources/POST.lua b/src/main/resources/lua/POST.lua similarity index 100% rename from src/main/resources/POST.lua rename to src/main/resources/lua/POST.lua diff --git a/src/main/resources/filter.lua b/src/main/resources/lua/filter.lua similarity index 100% rename from src/main/resources/filter.lua rename to src/main/resources/lua/filter.lua diff --git a/src/main/resources/first.lua b/src/main/resources/lua/first.lua similarity index 100% rename from src/main/resources/first.lua rename to src/main/resources/lua/first.lua diff --git a/src/main/resources/flatten.lua b/src/main/resources/lua/flatten.lua similarity index 100% rename from src/main/resources/flatten.lua rename to src/main/resources/lua/flatten.lua diff --git a/src/main/resources/map.lua b/src/main/resources/lua/map.lua similarity index 100% rename from src/main/resources/map.lua rename to src/main/resources/lua/map.lua diff --git a/src/main/resources/map2flat.lua b/src/main/resources/lua/map2flat.lua similarity index 100% rename from src/main/resources/map2flat.lua rename to src/main/resources/lua/map2flat.lua diff --git a/src/main/resources/mapNotNil.lua b/src/main/resources/lua/mapNotNil.lua similarity index 100% rename from src/main/resources/mapNotNil.lua rename to src/main/resources/lua/mapNotNil.lua diff --git a/src/main/resources/pageOfElem.lua b/src/main/resources/lua/pageOfElem.lua similarity index 100% rename from src/main/resources/pageOfElem.lua rename to src/main/resources/lua/pageOfElem.lua diff --git a/src/main/resources/pipeline.lua b/src/main/resources/lua/pipeline.lua similarity index 100% rename from src/main/resources/pipeline.lua rename to src/main/resources/lua/pipeline.lua diff --git a/src/main/resources/wrap.lua b/src/main/resources/lua/wrap.lua similarity index 100% rename from src/main/resources/wrap.lua rename to src/main/resources/lua/wrap.lua