From 43a4e2c277d003251f476e8aa5b2f0efbe2f3ae7 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 18 Jun 2026 21:00:07 +0800 Subject: improve to check multiple targets --- xmake/modules/cli/amalgamate.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/cli/amalgamate.lua') 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 -- cgit v1.3.1