summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-01 22:53:57 +0800
committerruki <[email protected]>2025-11-01 22:53:57 +0800
commitb3a2dba93a185f205dbd18a154e42da72fdd4881 (patch)
tree64b9c3e123ee03b95ac9cff15ef1e7bfdab3cdd7 /xmake/rules
parent95a282fab0f1a922251426a167939aa2ac9bd5be (diff)
improve to show progress abort
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/swift/xmake.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/xmake/rules/swift/xmake.lua b/xmake/rules/swift/xmake.lua
index 10434968b..78f2ebb4f 100644
--- a/xmake/rules/swift/xmake.lua
+++ b/xmake/rules/swift/xmake.lua
@@ -18,7 +18,7 @@
-- @file xmake.lua
--
-rule("swift.interop", function()
+rule("swift.interop")
set_sourcekinds("sc")
add_orders("swift.interop", "swift.build")
add_orders("swift.interop", "c++.build")
@@ -131,12 +131,7 @@ rule("swift.interop", function()
end
if opt.progress then
- progress.show(
- opt.progress,
- "${clear}${color.build.target}<%s> generating.swift.header %s",
- target:fullname(),
- headername
- )
+ progress.show(opt.progress, "${clear}${color.build.target}<%s> generating.swift.header %s", target:fullname(), headername)
end
local compinst = import("core.tool.compiler").load("sc")
@@ -178,7 +173,6 @@ rule("swift.interop", function()
end)
end
end, { jobgraph = true })
-end)
-- define rule: swift.build
rule("swift.build")