diff options
| author | ruki <[email protected]> | 2026-03-17 22:50:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-17 22:50:20 +0800 |
| commit | 9c3345d7357d1ede85b9f24d6721986315e28de6 (patch) | |
| tree | e510e09e55892ae78dbd458f5d3f369b31a02573 | |
| parent | 0513166f8232518a428499aa0190e79027b8916c (diff) | |
rename files
| -rw-r--r-- | xmake/rules/csharp/config.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/csharp/generator/csproj.lua (renamed from xmake/rules/csharp/modules/csproj_generator.lua) | 8 | ||||
| -rw-r--r-- | xmake/rules/csharp/generator/itemgroups.lua (renamed from xmake/rules/csharp/modules/csproj_itemgroups.lua) | 0 | ||||
| -rw-r--r-- | xmake/rules/csharp/generator/properties.lua (renamed from xmake/rules/csharp/modules/csproj_properties.lua) | 0 |
4 files changed, 5 insertions, 5 deletions
diff --git a/xmake/rules/csharp/config.lua b/xmake/rules/csharp/config.lua index 8b7186888..3f6b71844 100644 --- a/xmake/rules/csharp/config.lua +++ b/xmake/rules/csharp/config.lua @@ -20,7 +20,7 @@ -- imports import("core.project.depend") -import("modules.csproj_generator", {rootdir = os.scriptdir(), alias = "generate_csproj"}) +import("generator.csproj", {rootdir = os.scriptdir(), alias = "generate_csproj"}) function main(target) diff --git a/xmake/rules/csharp/modules/csproj_generator.lua b/xmake/rules/csharp/generator/csproj.lua index 0755b41a0..e28cbfc19 100644 --- a/xmake/rules/csharp/modules/csproj_generator.lua +++ b/xmake/rules/csharp/generator/csproj.lua @@ -19,8 +19,8 @@ -- -- imports -import("csproj_properties") -import("csproj_itemgroups") +import("properties") +import("itemgroups") -- escape special xml characters function _xml_escape(value) @@ -232,8 +232,8 @@ function main(target, csprojfile, opt) } -- collect project properties - local property_registry_entries = csproj_properties() - local item_registry_entries = csproj_itemgroups() + local property_registry_entries = properties() + local item_registry_entries = itemgroups() local project_attributes = _collect_project_attributes(target, context, property_registry_entries) local property_entries = _collect_property_entries(target, context, property_registry_entries) diff --git a/xmake/rules/csharp/modules/csproj_itemgroups.lua b/xmake/rules/csharp/generator/itemgroups.lua index 79f13b4fb..79f13b4fb 100644 --- a/xmake/rules/csharp/modules/csproj_itemgroups.lua +++ b/xmake/rules/csharp/generator/itemgroups.lua diff --git a/xmake/rules/csharp/modules/csproj_properties.lua b/xmake/rules/csharp/generator/properties.lua index 75d80e5a8..75d80e5a8 100644 --- a/xmake/rules/csharp/modules/csproj_properties.lua +++ b/xmake/rules/csharp/generator/properties.lua |
