summaryrefslogtreecommitdiff
path: root/make/unittest.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-28 23:31:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-28 23:31:10 +0800
commitb55a6b05c01238de4555e0cd92ef8305254394be (patch)
tree823e13bc1175da4117a5363cde1d567d10504d9f /make/unittest.lua
parent139eb14a3a85ec6d6177904c1f98bbc2ba804ac8 (diff)
downloadlua-language-server-b55a6b05c01238de4555e0cd92ef8305254394be.zip
发布到对应专区
Diffstat (limited to 'make/unittest.lua')
-rw-r--r--make/unittest.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/unittest.lua b/make/unittest.lua
index a501d2aa..e8ae190b 100644
--- a/make/unittest.lua
+++ b/make/unittest.lua
@@ -1,11 +1,12 @@
local platform = ...
local fs = require 'bee.filesystem'
local sp = require 'bee.subprocess'
+local pf = require 'bee.platform'
local exe = platform == 'msvc' and ".exe" or ""
local CWD = fs.current_path()
local process = assert(sp.spawn {
- CWD / 'server' / 'bin' / ('lua-language-server' .. exe),
+ CWD / 'server' / pf.OS / 'bin' / ('lua-language-server' .. exe),
CWD / 'server' / 'test.lua',
'-E',
stdout = true,