diff options
| author | ruki <[email protected]> | 2019-01-03 22:41:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-03 10:08:21 +0800 |
| commit | 2c8d0f142deeb90f8e2d2ae7962abbc8a62790aa (patch) | |
| tree | 5c74326301749db7ee0da5a2f0def3678ce39828 /xmake/core/project/option.lua | |
| parent | 21539005098febb08e7331e14cae59639c9a21fc (diff) | |
add status styles
Diffstat (limited to 'xmake/core/project/option.lua')
| -rw-r--r-- | xmake/core/project/option.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
