termux-packages/packages/lua-language-server/unittest.patch

21 lines
529 B
Diff
Raw Normal View History

2021-08-10 17:08:17 +02:00
--- lua-language-server/make.lua 2021-08-10 10:19:09.365907411 +0530
+++ lua-language-server-patch/make.lua 2021-08-10 19:21:14.691999783 +0530
@@ -22,17 +22,3 @@
'bootstrap',
}
}
-
-local fs = require 'bee.filesystem'
-local pf = require 'bee.platform'
-local exe = pf.OS == 'Windows' and ".exe" or ""
-lm:build 'unittest' {
- fs.path 'bin' / pf.OS / ('lua-language-server' .. exe), 'test.lua', '-E',
- pool = "console",
- deps = {
- 'install',
- 'test',
- }
-}
-
-lm:default 'unittest'