diff options
| author | ruki <[email protected]> | 2019-01-02 22:56:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-02 11:36:27 +0800 |
| commit | b183f6326762e3797ad65fe81051f1e03494e331 (patch) | |
| tree | 7305b48ff7d58870f70fa1e44a6ad473992936ac /xmake/modules/private/platform/check_xcode.lua | |
| parent | 5190a07502ec7c962f0db3a628c0b05f3877cfff (diff) | |
use color.error and color.warning styles
Diffstat (limited to 'xmake/modules/private/platform/check_xcode.lua')
| -rw-r--r-- | xmake/modules/private/platform/check_xcode.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/platform/check_xcode.lua b/xmake/modules/private/platform/check_xcode.lua index c86e3cb80..d56ed4c33 100644 --- a/xmake/modules/private/platform/check_xcode.lua +++ b/xmake/modules/private/platform/check_xcode.lua @@ -39,9 +39,9 @@ function main(config, optional) elseif not optional then -- failed - cprint("${bright red}please run:") - cprint("${red} - xmake config --xcode=xxx") - cprint("${red}or - xmake global --xcode=xxx") + cprint("${color.error}please run:") + cprint(" - xmake config --xcode=xxx") + cprint("or - xmake global --xcode=xxx") raise() end |
