summaryrefslogtreecommitdiff
path: root/xmake/modules/private/check/checker.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-03 00:52:16 +0800
committerruki <[email protected]>2025-12-03 00:52:16 +0800
commitd66186fac83f009715e4d3307b47e361954fa708 (patch)
treedc5191d6d7b8d93ca70394430e78b2859d7c4cea /xmake/modules/private/check/checker.lua
parent3aca93627b3cada55db8d0215d6ff87ca418ceab (diff)
add xmake check syntax
Diffstat (limited to 'xmake/modules/private/check/checker.lua')
-rw-r--r--xmake/modules/private/check/checker.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/private/check/checker.lua b/xmake/modules/private/check/checker.lua
index 6ff8b3864..6d43eecb9 100644
--- a/xmake/modules/private/check/checker.lua
+++ b/xmake/modules/private/check/checker.lua
@@ -59,7 +59,9 @@ function checkers()
-- cuda checkers
["cuda.devlink"] = {description = "Check devlink for targets.", build_failure = true},
-- clang tidy checker
- ["clang.tidy"] = {description = "Check project code using clang-tidy.", showstats = false}
+ ["clang.tidy"] = {description = "Check project code using clang-tidy.", showstats = false},
+ -- syntax checker
+ ["syntax"] = {description = "Check the project sourcecode syntax without linking.", showstats = false}
}
_g._CHECKERS = checkers
end