diff options
author | actboy168 <actboy168@gmail.com> | 2021-05-09 15:23:22 +0800 |
---|---|---|
committer | actboy168 <actboy168@gmail.com> | 2021-05-09 15:23:22 +0800 |
commit | 68e3ecb78fd0e9743f4ea2232c3b92cc8d7dc4df (patch) | |
tree | 56298be5f43976e02b3ec4a1e10a689f804b304d /make | |
parent | a82525de76c6f4e88abe2944022021180393705a (diff) | |
download | lua-language-server-68e3ecb78fd0e9743f4ea2232c3b92cc8d7dc4df.zip |
cleanup
Diffstat (limited to 'make')
-rw-r--r-- | make/unittest.lua | 22 |
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 |