diff options
author | actboy168 <actboy168@gmail.com> | 2019-01-22 22:35:01 +0800 |
---|---|---|
committer | actboy168 <actboy168@gmail.com> | 2019-01-22 22:35:01 +0800 |
commit | d0ff751ce25b2cb54ca48910c45975d5871823e2 (patch) | |
tree | d1462d45d5160af86ef98aa8c2ac08ae5dd28181 /make/install.lua | |
parent | 4ffc826d7ce5ca57c2929e040ed5eefb53f9d115 (diff) | |
download | lua-language-server-d0ff751ce25b2cb54ca48910c45975d5871823e2.zip |
增加c模块的构建脚本
Diffstat (limited to 'make/install.lua')
-rw-r--r-- | make/install.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/make/install.lua b/make/install.lua new file mode 100644 index 00000000..f492932b --- /dev/null +++ b/make/install.lua @@ -0,0 +1,13 @@ +local fs = require 'bee.filesystem' + +local CWD = fs.current_path() + +fs.create_directories(CWD / 'server' / 'bin') +fs.copy_file(CWD / 'build' / 'msvc' / 'bin' / 'lni.dll', CWD / 'server' / 'bin' / 'lni.dll', true) +fs.copy_file(CWD / 'build' / 'msvc' / 'bin' / 'lpeglabel.dll', CWD / 'server' / 'bin' / 'lpeglabel.dll', true) +fs.copy_file(CWD / '3rd' / 'bee.lua' / 'bin' / 'msvc_x86_release' / 'bee.dll', CWD / 'server' / 'bin' / 'bee.dll', true) +fs.copy_file(CWD / '3rd' / 'bee.lua' / 'bin' / 'msvc_x86_release' / 'lua54.dll', CWD / 'server' / 'bin' / 'lua54.dll', true) +fs.copy_file(CWD / '3rd' / 'bee.lua' / 'bin' / 'msvc_x86_release' / 'lua.exe', CWD / 'server' / 'bin' / 'lua-language-server.exe', true) + +local msvc_crt = dofile 'make/msvc_crt.lua' +msvc_crt('x86', CWD / 'server' / 'bin') |