diff options
| author | ruki <[email protected]> | 2026-03-16 23:42:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-16 23:42:00 +0800 |
| commit | 738d63ec3a02a86e93011f2b3b41267be30e7484 (patch) | |
| tree | 6f610aaed13c277bbce4ac3359a7fe39ce24cf54 /xmake/rules/csharp/modules | |
| parent | 443918d7e489ce7023e95184cc1e7ef537fa08f6 (diff) | |
format codes
Diffstat (limited to 'xmake/rules/csharp/modules')
| -rw-r--r-- | xmake/rules/csharp/modules/csharp_common.lua | 3 | ||||
| -rw-r--r-- | xmake/rules/csharp/modules/csproj_generator.lua | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/xmake/rules/csharp/modules/csharp_common.lua b/xmake/rules/csharp/modules/csharp_common.lua index 516297a45..c223bdce8 100644 --- a/xmake/rules/csharp/modules/csharp_common.lua +++ b/xmake/rules/csharp/modules/csharp_common.lua @@ -18,9 +18,10 @@ -- @file csharp_common.lua -- +-- imports import("core.base.option") import("core.project.config") -import("csproj_generator", {rootdir = os.scriptdir(), alias = "generate_csproj"}) +import("csproj_generator") function _is_csharp_target(target) if target:rule("csharp") then diff --git a/xmake/rules/csharp/modules/csproj_generator.lua b/xmake/rules/csharp/modules/csproj_generator.lua index 0f94ed806..8972b5550 100644 --- a/xmake/rules/csharp/modules/csproj_generator.lua +++ b/xmake/rules/csharp/modules/csproj_generator.lua @@ -18,8 +18,9 @@ -- @file csproj_generator.lua -- -import("properties", {rootdir = os.scriptdir(), alias = "csharp_properties"}) -import("itemgroups", {rootdir = os.scriptdir(), alias = "csharp_itemgroups"}) +-- imports +import("properties", {alias = "csharp_properties"}) +import("itemgroups", {alias = "csharp_itemgroups"}) function _xml_escape(value) value = tostring(value or "") |
