summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-21 00:43:15 +0800
committerruki <[email protected]>2023-02-21 00:43:15 +0800
commite0ac2fd899e03be83ad506616e0dab931ea69969 (patch)
tree5da4d14711ef983727061071c872ef836f7b960b
parent559f90b555e5227716a6762d545c9c2171fef55c (diff)
move checker
-rw-r--r--xmake/modules/private/check/checker.lua (renamed from xmake/plugins/check/checker.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/api_checker.lua (renamed from xmake/plugins/check/checkers/api/api_checker.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/asflags.lua (renamed from xmake/plugins/check/checkers/api/target/asflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/cflags.lua (renamed from xmake/plugins/check/checkers/api/target/cflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/configfiles.lua (renamed from xmake/plugins/check/checkers/api/target/configfiles.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/cxflags.lua (renamed from xmake/plugins/check/checkers/api/target/cxflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/cxxflags.lua (renamed from xmake/plugins/check/checkers/api/target/cxxflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/exceptions.lua (renamed from xmake/plugins/check/checkers/api/target/exceptions.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/files.lua (renamed from xmake/plugins/check/checkers/api/target/files.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/fpmodels.lua (renamed from xmake/plugins/check/checkers/api/target/fpmodels.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/frameworkdirs.lua (renamed from xmake/plugins/check/checkers/api/target/frameworkdirs.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/headerfiles.lua (renamed from xmake/plugins/check/checkers/api/target/headerfiles.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/includedirs.lua (renamed from xmake/plugins/check/checkers/api/target/includedirs.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/installfiles.lua (renamed from xmake/plugins/check/checkers/api/target/installfiles.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/kind.lua (renamed from xmake/plugins/check/checkers/api/target/kind.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/languages.lua (renamed from xmake/plugins/check/checkers/api/target/languages.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/ldflags.lua (renamed from xmake/plugins/check/checkers/api/target/ldflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/linkdirs.lua (renamed from xmake/plugins/check/checkers/api/target/linkdirs.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/optimize.lua (renamed from xmake/plugins/check/checkers/api/target/optimize.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/packages.lua (renamed from xmake/plugins/check/checkers/api/target/packages.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/shflags.lua (renamed from xmake/plugins/check/checkers/api/target/shflags.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/strip.lua (renamed from xmake/plugins/check/checkers/api/target/strip.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/symbols.lua (renamed from xmake/plugins/check/checkers/api/target/symbols.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/vectorexts.lua (renamed from xmake/plugins/check/checkers/api/target/vectorexts.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/version.lua (renamed from xmake/plugins/check/checkers/api/target/version.lua)0
-rw-r--r--xmake/modules/private/check/checkers/api/target/warnings.lua (renamed from xmake/plugins/check/checkers/api/target/warnings.lua)0
-rw-r--r--xmake/modules/private/check/checkers/clang/tidy.lua (renamed from xmake/plugins/check/checkers/clang/tidy.lua)0
-rw-r--r--xmake/modules/private/check/checkers/cuda/devlink.lua (renamed from xmake/plugins/check/checkers/cuda/devlink.lua)0
-rw-r--r--xmake/plugins/check/main.lua4
-rw-r--r--xmake/rules/utils/check_targets/checker.lua4
30 files changed, 4 insertions, 4 deletions
diff --git a/xmake/plugins/check/checker.lua b/xmake/modules/private/check/checker.lua
index f599b69ca..f599b69ca 100644
--- a/xmake/plugins/check/checker.lua
+++ b/xmake/modules/private/check/checker.lua
diff --git a/xmake/plugins/check/checkers/api/api_checker.lua b/xmake/modules/private/check/checkers/api/api_checker.lua
index 79e4809bd..79e4809bd 100644
--- a/xmake/plugins/check/checkers/api/api_checker.lua
+++ b/xmake/modules/private/check/checkers/api/api_checker.lua
diff --git a/xmake/plugins/check/checkers/api/target/asflags.lua b/xmake/modules/private/check/checkers/api/target/asflags.lua
index 07de9c4ec..07de9c4ec 100644
--- a/xmake/plugins/check/checkers/api/target/asflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/asflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/cflags.lua b/xmake/modules/private/check/checkers/api/target/cflags.lua
index db35a7bcf..db35a7bcf 100644
--- a/xmake/plugins/check/checkers/api/target/cflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/cflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/configfiles.lua b/xmake/modules/private/check/checkers/api/target/configfiles.lua
index a8965eebe..a8965eebe 100644
--- a/xmake/plugins/check/checkers/api/target/configfiles.lua
+++ b/xmake/modules/private/check/checkers/api/target/configfiles.lua
diff --git a/xmake/plugins/check/checkers/api/target/cxflags.lua b/xmake/modules/private/check/checkers/api/target/cxflags.lua
index ba09366e0..ba09366e0 100644
--- a/xmake/plugins/check/checkers/api/target/cxflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/cxflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/cxxflags.lua b/xmake/modules/private/check/checkers/api/target/cxxflags.lua
index 84660cfa4..84660cfa4 100644
--- a/xmake/plugins/check/checkers/api/target/cxxflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/cxxflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/exceptions.lua b/xmake/modules/private/check/checkers/api/target/exceptions.lua
index e9570a894..e9570a894 100644
--- a/xmake/plugins/check/checkers/api/target/exceptions.lua
+++ b/xmake/modules/private/check/checkers/api/target/exceptions.lua
diff --git a/xmake/plugins/check/checkers/api/target/files.lua b/xmake/modules/private/check/checkers/api/target/files.lua
index a523a7413..a523a7413 100644
--- a/xmake/plugins/check/checkers/api/target/files.lua
+++ b/xmake/modules/private/check/checkers/api/target/files.lua
diff --git a/xmake/plugins/check/checkers/api/target/fpmodels.lua b/xmake/modules/private/check/checkers/api/target/fpmodels.lua
index 61231109e..61231109e 100644
--- a/xmake/plugins/check/checkers/api/target/fpmodels.lua
+++ b/xmake/modules/private/check/checkers/api/target/fpmodels.lua
diff --git a/xmake/plugins/check/checkers/api/target/frameworkdirs.lua b/xmake/modules/private/check/checkers/api/target/frameworkdirs.lua
index 088aa7114..088aa7114 100644
--- a/xmake/plugins/check/checkers/api/target/frameworkdirs.lua
+++ b/xmake/modules/private/check/checkers/api/target/frameworkdirs.lua
diff --git a/xmake/plugins/check/checkers/api/target/headerfiles.lua b/xmake/modules/private/check/checkers/api/target/headerfiles.lua
index af262b91c..af262b91c 100644
--- a/xmake/plugins/check/checkers/api/target/headerfiles.lua
+++ b/xmake/modules/private/check/checkers/api/target/headerfiles.lua
diff --git a/xmake/plugins/check/checkers/api/target/includedirs.lua b/xmake/modules/private/check/checkers/api/target/includedirs.lua
index a78431fef..a78431fef 100644
--- a/xmake/plugins/check/checkers/api/target/includedirs.lua
+++ b/xmake/modules/private/check/checkers/api/target/includedirs.lua
diff --git a/xmake/plugins/check/checkers/api/target/installfiles.lua b/xmake/modules/private/check/checkers/api/target/installfiles.lua
index 7a294f60f..7a294f60f 100644
--- a/xmake/plugins/check/checkers/api/target/installfiles.lua
+++ b/xmake/modules/private/check/checkers/api/target/installfiles.lua
diff --git a/xmake/plugins/check/checkers/api/target/kind.lua b/xmake/modules/private/check/checkers/api/target/kind.lua
index 127f78ad5..127f78ad5 100644
--- a/xmake/plugins/check/checkers/api/target/kind.lua
+++ b/xmake/modules/private/check/checkers/api/target/kind.lua
diff --git a/xmake/plugins/check/checkers/api/target/languages.lua b/xmake/modules/private/check/checkers/api/target/languages.lua
index f01499225..f01499225 100644
--- a/xmake/plugins/check/checkers/api/target/languages.lua
+++ b/xmake/modules/private/check/checkers/api/target/languages.lua
diff --git a/xmake/plugins/check/checkers/api/target/ldflags.lua b/xmake/modules/private/check/checkers/api/target/ldflags.lua
index e06d5bb09..e06d5bb09 100644
--- a/xmake/plugins/check/checkers/api/target/ldflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/ldflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/linkdirs.lua b/xmake/modules/private/check/checkers/api/target/linkdirs.lua
index 3f05bfa16..3f05bfa16 100644
--- a/xmake/plugins/check/checkers/api/target/linkdirs.lua
+++ b/xmake/modules/private/check/checkers/api/target/linkdirs.lua
diff --git a/xmake/plugins/check/checkers/api/target/optimize.lua b/xmake/modules/private/check/checkers/api/target/optimize.lua
index 99731ba19..99731ba19 100644
--- a/xmake/plugins/check/checkers/api/target/optimize.lua
+++ b/xmake/modules/private/check/checkers/api/target/optimize.lua
diff --git a/xmake/plugins/check/checkers/api/target/packages.lua b/xmake/modules/private/check/checkers/api/target/packages.lua
index 994ea5c2a..994ea5c2a 100644
--- a/xmake/plugins/check/checkers/api/target/packages.lua
+++ b/xmake/modules/private/check/checkers/api/target/packages.lua
diff --git a/xmake/plugins/check/checkers/api/target/shflags.lua b/xmake/modules/private/check/checkers/api/target/shflags.lua
index 20b2f6a05..20b2f6a05 100644
--- a/xmake/plugins/check/checkers/api/target/shflags.lua
+++ b/xmake/modules/private/check/checkers/api/target/shflags.lua
diff --git a/xmake/plugins/check/checkers/api/target/strip.lua b/xmake/modules/private/check/checkers/api/target/strip.lua
index c6074bc12..c6074bc12 100644
--- a/xmake/plugins/check/checkers/api/target/strip.lua
+++ b/xmake/modules/private/check/checkers/api/target/strip.lua
diff --git a/xmake/plugins/check/checkers/api/target/symbols.lua b/xmake/modules/private/check/checkers/api/target/symbols.lua
index 839bd0ede..839bd0ede 100644
--- a/xmake/plugins/check/checkers/api/target/symbols.lua
+++ b/xmake/modules/private/check/checkers/api/target/symbols.lua
diff --git a/xmake/plugins/check/checkers/api/target/vectorexts.lua b/xmake/modules/private/check/checkers/api/target/vectorexts.lua
index 77f9ee48c..77f9ee48c 100644
--- a/xmake/plugins/check/checkers/api/target/vectorexts.lua
+++ b/xmake/modules/private/check/checkers/api/target/vectorexts.lua
diff --git a/xmake/plugins/check/checkers/api/target/version.lua b/xmake/modules/private/check/checkers/api/target/version.lua
index 889864f5b..889864f5b 100644
--- a/xmake/plugins/check/checkers/api/target/version.lua
+++ b/xmake/modules/private/check/checkers/api/target/version.lua
diff --git a/xmake/plugins/check/checkers/api/target/warnings.lua b/xmake/modules/private/check/checkers/api/target/warnings.lua
index 4e6cf5794..4e6cf5794 100644
--- a/xmake/plugins/check/checkers/api/target/warnings.lua
+++ b/xmake/modules/private/check/checkers/api/target/warnings.lua
diff --git a/xmake/plugins/check/checkers/clang/tidy.lua b/xmake/modules/private/check/checkers/clang/tidy.lua
index 9b0d9b21e..9b0d9b21e 100644
--- a/xmake/plugins/check/checkers/clang/tidy.lua
+++ b/xmake/modules/private/check/checkers/clang/tidy.lua
diff --git a/xmake/plugins/check/checkers/cuda/devlink.lua b/xmake/modules/private/check/checkers/cuda/devlink.lua
index 4281b5a8d..4281b5a8d 100644
--- a/xmake/plugins/check/checkers/cuda/devlink.lua
+++ b/xmake/modules/private/check/checkers/cuda/devlink.lua
diff --git a/xmake/plugins/check/main.lua b/xmake/plugins/check/main.lua
index 9ec6d03fd..5ee89ae3e 100644
--- a/xmake/plugins/check/main.lua
+++ b/xmake/plugins/check/main.lua
@@ -22,7 +22,7 @@
import("core.base.option")
import("core.base.text")
import("core.project.config")
-import("checker")
+import("private.check.checker")
-- show checkers list
function _show_list()
@@ -80,7 +80,7 @@ function _check(group_or_name, arguments)
if showstats == nil and info and info.showstats ~= nil then
showstats = info.showstats
end
- import("checkers." .. name, {anonymous = true})(arguments)
+ import("private.check.checkers." .. name, {anonymous = true})(arguments)
end
if showstats ~= false then
checker.show_stats()
diff --git a/xmake/rules/utils/check_targets/checker.lua b/xmake/rules/utils/check_targets/checker.lua
index 70b21450b..c6cbd4bf1 100644
--- a/xmake/rules/utils/check_targets/checker.lua
+++ b/xmake/rules/utils/check_targets/checker.lua
@@ -18,7 +18,7 @@
-- @file check_targets.lua
--
-import("plugins.check.checker", {rootdir = os.programdir()})
+import("private.check.checker", {rootdir = os.programdir()})
function _show(str, opt)
_g.showed = _g.showed or {}
@@ -43,7 +43,7 @@ function check_target(target)
for name, info in table.orderpairs(checkers) do
-- just do some faster checkers
if info.timely then
- import("plugins.check.checkers." .. name, {anonymous = true, rootdir = os.programdir()})({
+ import("private.check.checkers." .. name, {anonymous = true, rootdir = os.programdir()})({
target = target, show = _show})
end
end