summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-16 23:43:14 +0800
committerruki <[email protected]>2026-03-16 23:43:14 +0800
commit2504b748c0c716c7ab0db044cf7867b4fd6a62d3 (patch)
treeceec445c6d3d8c551dfcc1a12b58febd31e39617
parent9bb7b558f2e1c4cb0408f09e85a52c9a1e0db360 (diff)
rename csharp common to utils
-rw-r--r--xmake/rules/csharp/build/target.lua4
-rw-r--r--xmake/rules/csharp/modules/csharp_utils.lua (renamed from xmake/rules/csharp/modules/csharp_common.lua)2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/csharp/build/target.lua b/xmake/rules/csharp/build/target.lua
index 259ccf5d4..43ee036b1 100644
--- a/xmake/rules/csharp/build/target.lua
+++ b/xmake/rules/csharp/build/target.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.tool.compiler")
import("core.project.depend")
import("utils.progress")
-import("rules.modules.csharp_common", {rootdir = os.scriptdir(), alias = "csharp_common"})
+import("rules.csharp.modules.csharp_utils", {rootdir = os.programdir(), alias = "csharp_utils"})
-- find or generate .csproj file
function _get_csprojfile(target)
@@ -31,7 +31,7 @@ function _get_csprojfile(target)
if csprojfile then
return csprojfile
end
- csprojfile = csharp_common.find_or_generate_csproj(target)
+ csprojfile = csharp_utils.find_or_generate_csproj(target)
if csprojfile then
target:data_set("csharp.csproj", csprojfile)
end
diff --git a/xmake/rules/csharp/modules/csharp_common.lua b/xmake/rules/csharp/modules/csharp_utils.lua
index c223bdce8..58895ff36 100644
--- a/xmake/rules/csharp/modules/csharp_common.lua
+++ b/xmake/rules/csharp/modules/csharp_utils.lua
@@ -15,7 +15,7 @@
-- Copyright (C) 2015-present, Xmake Open Source Community.
--
-- @author JassJam
--- @file csharp_common.lua
+-- @file csharp_utils.lua
--
-- imports