summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
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