summaryrefslogtreecommitdiff
path: root/xmake/actions/run/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-06-18 21:00:07 +0800
committerruki <[email protected]>2026-06-18 21:00:07 +0800
commit43a4e2c277d003251f476e8aa5b2f0efbe2f3ae7 (patch)
tree140c4f0a1376cfde9cef98b33dd66361183661c6 /xmake/actions/run/main.lua
parent80f6dba52aa17a4900a51f76da7f05cf3d5fa73c (diff)
improve to check multiple targets
Diffstat (limited to 'xmake/actions/run/main.lua')
-rw-r--r--xmake/actions/run/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index d9b5e83d3..f6baa4253 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -29,7 +29,7 @@ import("devel.debugger")
import("async.runjobs")
import("private.action.run.runenvs")
import("private.service.remote_build.action", {alias = "remote_build_action"})
-import("private.detect.check_targetname")
+import("private.detect.check_targetnames")
import("lib.detect.find_tool")
import("private.action.utils", {alias = "action_utils"})
@@ -232,7 +232,7 @@ function _check_targets(targetname, group_pattern)
-- get targets
local targets = {}
if targetname then
- local target = assert(check_targetname(targetname))
+ local target = assert(check_targetnames(targetname))
table.insert(targets, target)
else
for _, target in ipairs(project.ordertargets()) do