From 2c8d0f142deeb90f8e2d2ae7962abbc8a62790aa Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 3 Jan 2019 22:41:23 +0800 Subject: add status styles --- xmake/core/project/option.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core/project/option.lua') diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua index 75866e71b..1dd480197 100644 --- a/xmake/core/project/option.lua +++ b/xmake/core/project/option.lua @@ -177,7 +177,7 @@ function option:_check() end -- trace - utils.cprint("checking for the %s ... %s", name, utils.ifelse(self:enabled(), "${green}ok", "${red}no")) + utils.cprint("checking for the %s ... %s", name, self:enabled() and "${color.success}${text.success}" or "${color.nothing}${text.nothing}") if not ok then os.raise(errors) end -- cgit v1.3.1