summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-21 22:31:17 +0800
committerruki <[email protected]>2023-02-21 22:31:17 +0800
commit9b095fdc709852158c6414a79915384fead9b313 (patch)
tree7387a3f983c74ad00e051b5dffa861aace4a6072
parente0ac2fd899e03be83ad506616e0dab931ea69969 (diff)
fix import errors
-rw-r--r--xmake/modules/private/check/checker.lua2
-rw-r--r--xmake/plugins/check/xmake.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/check/checker.lua b/xmake/modules/private/check/checker.lua
index f599b69ca..9396f825f 100644
--- a/xmake/modules/private/check/checker.lua
+++ b/xmake/modules/private/check/checker.lua
@@ -52,7 +52,7 @@ function checkers()
["api.target.ldflags"] = {description = "Check binary linker flags configuration in target."},
["api.target.shflags"] = {description = "Check shared library linker flags configuration in target."},
-- cuda checkers
- ["cuda.devlink"] = {description = "Check devlink for targets.", timely = true},
+ ["cuda.devlink"] = {description = "Check devlink for targets."},
-- clang tidy checker
["clang.tidy"] = {description = "Check project code using clang-tidy.", showstats = false}
}
diff --git a/xmake/plugins/check/xmake.lua b/xmake/plugins/check/xmake.lua
index d4a7dc19a..c04f2ffff 100644
--- a/xmake/plugins/check/xmake.lua
+++ b/xmake/plugins/check/xmake.lua
@@ -35,7 +35,7 @@ task("check")
"",
"The supported checkers list:",
values = function (complete, opt)
- return import("plugins.check.checker", {rootdir = os.programdir()}).complete(complete, opt)
+ return import("private.check.checker", {rootdir = os.programdir()}).complete(complete, opt)
end},
{nil, "arguments", "vs", nil, "Set the checker arguments.",
"e.g.",