summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-28 20:32:11 +0800
committerGitHub <noreply@github.com>2021-10-28 20:32:11 +0800
commit20199bfca5d85f4798310f3219ff7b56e207ba5f (patch)
tree5e46f4564ac926ff7fa294a58f474a750dc50331 /make
parent9fe03a17808d7ee0e055a7cdeb0b52b1d8ce690f (diff)
downloadlua-language-server-20199bfca5d85f4798310f3219ff7b56e207ba5f.zip
Revert "格式化"
Diffstat (limited to 'make')
-rw-r--r--make/code_style.lua36
-rw-r--r--make/modules.cpp3
2 files changed, 0 insertions, 39 deletions
diff --git a/make/code_style.lua b/make/code_style.lua
deleted file mode 100644
index a97bc930..00000000
--- a/make/code_style.lua
+++ /dev/null
@@ -1,36 +0,0 @@
-local lm = require "luamake"
-
-lm:static_library 'luaParser' {
- rootdir = '../3rd/EmmyLuaCodeStyle',
- includes = "include",
- sources = "LuaParser/src/*.cpp",
- defines = {
- 'MAXRECLEVEL=1000',
- },
-}
-
-lm:static_library 'codeService' {
- deps = {"luaParser"},
- rootdir = '../3rd/EmmyLuaCodeStyle',
- includes = "include",
- sources = {
- "CodeService/src/*.cpp",
- "CodeService/src/FormatElement/*.cpp"
- },
- defines = {
- 'MAXRECLEVEL=1000',
- },
-}
-
-lm:static_library 'codeFormatLib' {
- deps = {"codeService"},
- rootdir = '../3rd/EmmyLuaCodeStyle',
- includes = {
- "include",
- "../bee.lua/3rd/lua"
- },
- sources = "CodeFormatLib/src/*.cpp",
- defines = {
- 'MAXRECLEVEL=1000',
- },
-}
diff --git a/make/modules.cpp b/make/modules.cpp
index b10ae798..f72fc058 100644
--- a/make/modules.cpp
+++ b/make/modules.cpp
@@ -2,6 +2,3 @@
extern "C" int luaopen_lpeglabel (lua_State *L);
static ::bee::lua::callfunc _init(::bee::lua::register_module, "lpeglabel", luaopen_lpeglabel);
-
-extern "C" int luaopen_code_format(lua_State *L);
-static ::bee::lua::callfunc _init_code_format(::bee::lua::register_module, "code_format", luaopen_code_format);