diff options
m--------- | 3rd/bee.lua | 0 | ||||
-rw-r--r-- | make.lua | 14 |
2 files changed, 10 insertions, 4 deletions
diff --git a/3rd/bee.lua b/3rd/bee.lua -Subproject 07870ccd5ffba13c167b4bb40622baea1ad4d7e +Subproject 9a11b7c74d5d5c377b0af0ab54313573dce1aca @@ -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", } |