summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-30 19:30:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-30 19:30:49 +0800
commit6bb4eb555a8dae41da178f8fcec2e32b31848bda (patch)
tree49bd0561fc4c11f325b7a6e0c35973b5435a712a /server
parentdfbdcbd3f01602307f49f1af098899264d0162e7 (diff)
downloadlua-language-server-6bb4eb555a8dae41da178f8fcec2e32b31848bda.zip
改个名字
Diffstat (limited to 'server')
-rw-r--r--server/bin/lua-language-server.exe (renamed from server/bin/lua.exe)bin15872 -> 15872 bytes
-rw-r--r--server/compile.lua12
2 files changed, 10 insertions, 2 deletions
diff --git a/server/bin/lua.exe b/server/bin/lua-language-server.exe
index 85bf7994..85bf7994 100644
--- a/server/bin/lua.exe
+++ b/server/bin/lua-language-server.exe
Binary files differ
diff --git a/server/compile.lua b/server/compile.lua
index 882ff232..0dc700af 100644
--- a/server/compile.lua
+++ b/server/compile.lua
@@ -17,8 +17,16 @@ end
local function copyFile()
local source = root / 'bee.lua' / 'bin' / 'msvc_x86_Release'
local target = root / 'bin'
- for _, name in ipairs {'bee.dll', 'lua.exe', 'lua54.dll'} do
- fs.copy_file(source / name, target / name, true)
+ for _, name in ipairs {
+ 'bee.dll',
+ {'lua.exe', 'lua-language-server.exe'},
+ 'lua54.dll',
+ } do
+ if type(name) == 'string' then
+ fs.copy_file(source / name, target / name, true)
+ else
+ fs.copy_file(source / name[1], target / name[2], true)
+ end
end
end