diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-30 19:30:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-30 19:30:49 +0800 |
commit | 6bb4eb555a8dae41da178f8fcec2e32b31848bda (patch) | |
tree | 49bd0561fc4c11f325b7a6e0c35973b5435a712a /server | |
parent | dfbdcbd3f01602307f49f1af098899264d0162e7 (diff) | |
download | lua-language-server-6bb4eb555a8dae41da178f8fcec2e32b31848bda.zip |
改个名字
Diffstat (limited to 'server')
-rw-r--r-- | server/bin/lua-language-server.exe (renamed from server/bin/lua.exe) | bin | 15872 -> 15872 bytes | |||
-rw-r--r-- | server/compile.lua | 12 |
2 files changed, 10 insertions, 2 deletions
diff --git a/server/bin/lua.exe b/server/bin/lua-language-server.exe Binary files differindex 85bf7994..85bf7994 100644 --- a/server/bin/lua.exe +++ b/server/bin/lua-language-server.exe 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 |