summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2021-05-09 15:23:22 +0800
committeractboy168 <actboy168@gmail.com>2021-05-09 15:23:22 +0800
commit68e3ecb78fd0e9743f4ea2232c3b92cc8d7dc4df (patch)
tree56298be5f43976e02b3ec4a1e10a689f804b304d /make
parenta82525de76c6f4e88abe2944022021180393705a (diff)
downloadlua-language-server-68e3ecb78fd0e9743f4ea2232c3b92cc8d7dc4df.zip
cleanup
Diffstat (limited to 'make')
-rw-r--r--make/unittest.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/make/unittest.lua b/make/unittest.lua
deleted file mode 100644
index 1c2c2d6f..00000000
--- a/make/unittest.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-local fs = require 'bee.filesystem'
-local sp = require 'bee.subprocess'
-local pf = require 'bee.platform'
-local exe = pf.OS == 'Windows' and ".exe" or ""
-local CWD = fs.current_path()
-
-local process = assert(sp.spawn {
- CWD / 'bin' / pf.OS / ('lua-language-server' .. exe),
- CWD / 'test.lua',
- '-E',
- stdout = true,
- stderr = true,
-})
-
-for line in process.stdout:lines 'l' do
- print(line)
-end
-process:wait()
-local err = process.stderr:read 'a'
-if err ~= '' then
- error(err)
-end