summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------3rd/EmmyLuaCodeStyle0
-rw-r--r--make/code_format.lua14
2 files changed, 9 insertions, 5 deletions
diff --git a/3rd/EmmyLuaCodeStyle b/3rd/EmmyLuaCodeStyle
-Subproject ab534c069ba4806fc4ef8b29005e07d651e40d4
+Subproject 8246ca187f166f9fa88c08076b4c1e16817de11
diff --git a/make/code_format.lua b/make/code_format.lua
index 537aa273..c62fb0cc 100644
--- a/make/code_format.lua
+++ b/make/code_format.lua
@@ -23,15 +23,19 @@ lm:source_set 'code_format' {
"CodeService/src/FormatElement/*.cpp",
"CodeService/src/NameStyle/*.cpp"
},
+ windows = {
+ -- 不要开哦
+ -- flasg = "/W3 /WX"
+ },
macos = {
- -- macosx10.12不支持完整的std filesystem,只好砍功能
- defines = "NOT_SUPPORT_FILE_SYSTEM",
+ flags = "-Wall -Werror",
},
linux = {
- defines = (function ()
+ defines = (function()
if lm.platform == "linux-arm64" then
return "NOT_SUPPORT_FILE_SYSTEM"
end
- end)()
- },
+ end)(),
+ flags = "-Wall -Werror"
+ }
}