summaryrefslogtreecommitdiff
path: root/xmake/modules/cli
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/modules/cli
parent80f6dba52aa17a4900a51f76da7f05cf3d5fa73c (diff)
improve to check multiple targets
Diffstat (limited to 'xmake/modules/cli')
-rw-r--r--xmake/modules/cli/amalgamate.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua
index b76f60b6e..293b0c445 100644
--- a/xmake/modules/cli/amalgamate.lua
+++ b/xmake/modules/cli/amalgamate.lua
@@ -24,7 +24,7 @@ import("core.base.graph")
import("core.project.config")
import("core.project.task")
import("core.project.project")
-import("private.detect.check_targetname")
+import("private.detect.check_targetnames")
-- the options
local options =
@@ -160,7 +160,7 @@ function main(...)
-- generate amalgamate code
args.outputdir = args.outputdir or config.builddir()
if args.target then
- local target = assert(check_targetname(args.target))
+ local target = assert(check_targetnames(args.target))
_generate_amalgamate_code(target, args)
else
for _, target in ipairs(project.ordertargets()) do