summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2021-10-18 10:06:39 +0800
committeractboy168 <actboy168@gmail.com>2021-10-18 10:06:39 +0800
commit0b5b56592eaa331b9331e7e392cd80a96f9f8c42 (patch)
tree931aaafc54e1989a9776932f53f0f6fec703d103 /make
parent83dbd60d0a3fbc8f2356d1add7422cc9ad1cec64 (diff)
downloadlua-language-server-0b5b56592eaa331b9331e7e392cd80a96f9f8c42.zip
fixes bug
Diffstat (limited to 'make')
-rw-r--r--make/copy_vcrt.lua3
-rw-r--r--make/install.lua8
2 files changed, 3 insertions, 8 deletions
diff --git a/make/copy_vcrt.lua b/make/copy_vcrt.lua
new file mode 100644
index 00000000..b1eb3cf5
--- /dev/null
+++ b/make/copy_vcrt.lua
@@ -0,0 +1,3 @@
+local output = ...
+local fs = require 'bee.filesystem'
+require 'msvc'.copy_vcrt('x64', fs.current_path() / output)
diff --git a/make/install.lua b/make/install.lua
deleted file mode 100644
index c7f3b3a1..00000000
--- a/make/install.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-local fs = require 'bee.filesystem'
-local pf = require 'bee.platform'
-local CWD = fs.current_path()
-local output = CWD / 'bin' / pf.OS
-
-if pf.OS == 'Windows' then
- require 'msvc'.copy_vcrt('x64', output)
-end