summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-02 22:56:04 +0800
committerruki <[email protected]>2019-01-02 11:36:27 +0800
commitb183f6326762e3797ad65fe81051f1e03494e331 (patch)
tree7305b48ff7d58870f70fa1e44a6ad473992936ac /xmake/plugins
parent5190a07502ec7c962f0db3a628c0b05f3877cfff (diff)
use color.error and color.warning styles
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/clang/compile_commands.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/clang/compile_commands.lua b/xmake/plugins/project/clang/compile_commands.lua
index 020713c3d..448382434 100644
--- a/xmake/plugins/project/clang/compile_commands.lua
+++ b/xmake/plugins/project/clang/compile_commands.lua
@@ -71,7 +71,7 @@ function _make_single_object(jsonfile, target, sourcekind, sourcebatch)
-- not supported now, ignore it directly
for _, sourcefile in ipairs(table.wrap(sourcebatch.sourcefiles)) do
- cprint("${bright yellow}warning: ${default yellow}ignore[%s]: %s", target:name(), sourcefile)
+ cprint("${color.warning}warning: ${clear}ignore[%s]: %s", target:name(), sourcefile)
end
end