diff options
| author | Arthur LAURENT <[email protected]> | 2025-10-26 16:41:39 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-10-26 17:23:28 +0100 |
| commit | f0c987ee98d91da8f3a7d507a979a7f26b8b903c (patch) | |
| tree | 906c60a5e24db6c4b5c37de31bef9459e4270330 | |
| parent | 49effcb3896dbef158e375ef0524ab1f09ce6b15 (diff) | |
nfc(swift) format
| -rw-r--r-- | xmake/rules/swift/xmake.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/rules/swift/xmake.lua b/xmake/rules/swift/xmake.lua index afda2565b..a3181fd6a 100644 --- a/xmake/rules/swift/xmake.lua +++ b/xmake/rules/swift/xmake.lua @@ -23,7 +23,6 @@ rule("swift.interop", function() add_orders("swift.interop", "swift.build") add_orders("swift.interop", "c++.build") on_config(function(target) - import("core.base.json") if not target:values("swift.interop") then @@ -157,7 +156,9 @@ rule("swift.interop", function() scflags or {}, stdflag or {}, public_sourcefiles) - if option.get("verbose") then print(os.args(table.join(sc, flags))) end + if option.get("verbose") then + print(os.args(table.join(sc, flags))) + end if os.isfile(header) then os.rm(header) |
