summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/storyboard/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-08 23:44:59 +0800
committerruki <[email protected]>2020-04-08 16:29:55 +0800
commitefe6609bb668d34a4beb5b9b06f36b7556796c7b (patch)
tree747263b31b08cb644fee54b24e855870564f06ae /xmake/rules/xcode/storyboard/xmake.lua
parentef120036428f173d235b1822a242173b12c7a6b8 (diff)
improve xcode.app rule
Diffstat (limited to 'xmake/rules/xcode/storyboard/xmake.lua')
-rw-r--r--xmake/rules/xcode/storyboard/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/xcode/storyboard/xmake.lua b/xmake/rules/xcode/storyboard/xmake.lua
index 42e9d4965..3c0146a78 100644
--- a/xmake/rules/xcode/storyboard/xmake.lua
+++ b/xmake/rules/xcode/storyboard/xmake.lua
@@ -39,7 +39,7 @@ rule("xcode.storyboard")
-- get base.lproj
local base_lproj = path.join(target:autogendir(), "rules", "xcode", "storyboard", "Base.lproj")
- -- get app resources directory
+ -- get resources directory
local resourcesdir = assert(target:data("xcode.bundle.resourcesdir"), "resources directory not found!")
-- need re-compile it?
@@ -52,9 +52,9 @@ rule("xcode.storyboard")
-- trace progress info
cprintf("${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} ", opt.progress)
if option.get("verbose") then
- cprint("${dim color.build.object}compiling.xcode.storyboard %s", sourcefile)
+ cprint("${dim color.build.object}compiling.xcode.$(mode) %s", sourcefile)
else
- cprint("${color.build.object}compiling.xcode.storyboard %s", sourcefile)
+ cprint("${color.build.object}compiling.xcode.$(mode) %s", sourcefile)
end
-- do compile