summaryrefslogtreecommitdiff
path: root/xmake/actions/create/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-14 08:30:08 +0800
committerruki <[email protected]>2016-07-14 08:30:08 +0800
commite20c540cbde1694c683bbc3b8c19158bbde57985 (patch)
treed7331ebdd2f7dc1f9efeea7f0862488ba77560fb /xmake/actions/create/main.lua
parent375e6543b6ababe4dd84692456e71886cb857188 (diff)
add colors for actions and plugins
Diffstat (limited to 'xmake/actions/create/main.lua')
-rwxr-xr-xxmake/actions/create/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/create/main.lua b/xmake/actions/create/main.lua
index 64bf7d4d2..a07af9c27 100755
--- a/xmake/actions/create/main.lua
+++ b/xmake/actions/create/main.lua
@@ -32,11 +32,11 @@ function main()
local targetname = option.get("target") or option.get("name") or path.basename(project.directory()) or "demo"
-- trace
- print("create %s ...", targetname)
+ cprint("${bright}create %s ...", targetname)
-- create project from template
template.create(option.get("language"), option.get("template"), targetname)
-- trace
- print("create ok!")
+ cprint("${bright}create ok!")
end