summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-03-11 16:29:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-03-11 16:29:09 +0800
commitdadeadf34dd92c52635d120c7fb2cfa30701cd22 (patch)
tree4adcf9898d99b69b38781ec3064a46bb8d584290
parentcfaf4d0077c0f42a8ea90212df9cd93556c51098 (diff)
downloadlua-language-server-dadeadf34dd92c52635d120c7fb2cfa30701cd22.zip
update workflow
m---------3rd/bee.lua0
-rw-r--r--make.lua14
2 files changed, 10 insertions, 4 deletions
diff --git a/3rd/bee.lua b/3rd/bee.lua
-Subproject 07870ccd5ffba13c167b4bb40622baea1ad4d7e
+Subproject 9a11b7c74d5d5c377b0af0ab54313573dce1aca
diff --git a/make.lua b/make.lua
index 983f6334..25234c75 100644
--- a/make.lua
+++ b/make.lua
@@ -92,20 +92,26 @@ if lm.notest then
return
end
-lm:rule "runtest" {
+lm:rule "run-bee-test" {
+ lm.bindir .. "/lua-language-server" .. exe, "$in",
+ description = "Run test: $in.",
+ pool = "console",
+}
+
+lm:rule "run-unit-test" {
"bin/lua-language-server" .. exe, "$in",
description = "Run test: $in.",
pool = "console",
}
lm:build "bee-test" {
- rule = "runtest",
- deps = { "all" },
+ rule = "run-bee-test",
+ deps = { "lua-language-server", "copy_script" },
input = "3rd/bee.lua/test/test.lua",
}
lm:build 'unit-test' {
- rule = "runtest",
+ rule = "run-unit-test",
deps = { "bee-test", "all" },
input = "test.lua",
}