summaryrefslogtreecommitdiff
path: root/xmake/platforms/android
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/platforms/android
parent5190a07502ec7c962f0db3a628c0b05f3877cfff (diff)
use color.error and color.warning styles
Diffstat (limited to 'xmake/platforms/android')
-rw-r--r--xmake/platforms/android/config.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/platforms/android/config.lua b/xmake/platforms/android/config.lua
index 08e4ed0a5..a7f5d3c9b 100644
--- a/xmake/platforms/android/config.lua
+++ b/xmake/platforms/android/config.lua
@@ -40,9 +40,9 @@ function _check_ndk()
config.set("gcc_toolchain", ndk.gcc_toolchain, {force = true, readonly = true})
else
-- failed
- cprint("${bright red}please run:")
- cprint("${red} - xmake config --ndk=xxx")
- cprint("${red}or - xmake global --ndk=xxx")
+ cprint("${color.error}please run:")
+ cprint(" - xmake config --ndk=xxx")
+ cprint("or - xmake global --ndk=xxx")
raise()
end
end