summaryrefslogtreecommitdiff
path: root/xmake/rules/utils
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-08 23:23:31 +0800
committerruki <[email protected]>2020-04-08 14:21:08 +0800
commit5ea1ffd7512c5dc2633acee56751ade0eed41365 (patch)
tree1e227c8925d3cb6d62f4432fef3518664127b806 /xmake/rules/utils
parent088df3a0bbe2bd99b5d60a5a1f5fb54d4be1673d (diff)
build storyboard for xcode.app
Diffstat (limited to 'xmake/rules/utils')
-rw-r--r--xmake/rules/utils/symbols/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/utils/symbols/xmake.lua b/xmake/rules/utils/symbols/xmake.lua
index 971254b59..dae924a08 100644
--- a/xmake/rules/utils/symbols/xmake.lua
+++ b/xmake/rules/utils/symbols/xmake.lua
@@ -62,7 +62,7 @@ rule("utils.symbols.extract")
local targetfile = target:targetfile()
local dependfile = target:dependfile(symbolfile)
local dependinfo = option.get("rebuild") and {} or (depend.load(dependfile) or {})
- if not depend.is_changed(dependinfo, {lastmtime = os.mtime(symbolfile)}) then
+ if not depend.is_changed(dependinfo, {lastmtime = os.mtime(dependfile)}) then
return
end
@@ -114,7 +114,7 @@ rule("utils.symbols.extract")
os.vrunv(strip, strip_argv, {dryrun = dryrun})
-- update files and values to the dependent file
- -- @note we use dependfile(targetfile) instead of targetfile to ensure it's mtime less than mtime(symbolfile), because targetfile will be changed after stripping
+ -- @note we use dependfile(targetfile) as sourcefile/mtime instead of targetfile to ensure it's mtime less than mtime(symbolfile), because targetfile will be changed after stripping
dependinfo.files = {target:dependfile(targetfile)}
depend.save(dependinfo, dependfile)
end)