diff options
Diffstat (limited to 'make/install.lua')
-rw-r--r-- | make/install.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/install.lua b/make/install.lua index 43e3b1e0..4ea31eaa 100644 --- a/make/install.lua +++ b/make/install.lua @@ -4,7 +4,7 @@ local sp = require 'bee.subprocess' local pf = require 'bee.platform' local CWD = fs.current_path() -local output = CWD / 'server' / pf.OS / 'bin' +local output = CWD / 'bin' / pf.OS local bindir = CWD / 'build' / platform / 'bin' local exe = platform == 'msvc' and ".exe" or "" local dll = platform == 'msvc' and ".dll" or ".so" @@ -13,12 +13,12 @@ fs.create_directories(output) fs.copy_file(bindir / 'lni'..dll, output / 'lni'..dll, true) fs.copy_file(bindir / 'lpeglabel'..dll, output / 'lpeglabel'..dll, true) fs.copy_file(bindir / 'bee'..dll, output / 'bee'..dll, true) -fs.copy_file(bindir / 'lua'..exe, output / 'lua'..exe, true) +fs.copy_file(bindir / 'lua'..exe, output / 'lua-language-server'..exe, true) local bootstrap = CWD / "3rd" / "bee.lua" / "bootstrap" fs.copy_file(bootstrap / "main.lua", CWD / 'build' / "main.lua", true) fs.copy_file(bindir / ('bee'..dll), CWD / 'build' / ('bee'..dll), true) -fs.copy_file(bindir / ('bootstrap'..exe), CWD / 'build' / ('lua-language-server'..exe), true) +fs.copy_file(bindir / ('bootstrap'..exe), CWD / 'build' / ('bootstrap'..exe), true) if platform == 'msvc' then fs.copy_file(bindir / 'lua54.dll', CWD / 'build' / 'lua54.dll', true) end @@ -31,7 +31,7 @@ if platform == 'msvc' then bindir / 'rcedit.exe', output / 'lua-language-server.exe', '--set-icon', - CWD / 'images' / 'icon.ico' + CWD / 'icon.ico' }) assert(process:wait()) end |