summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/xcassets/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-01 09:40:50 +0800
committerGitHub <[email protected]>2023-09-01 09:40:50 +0800
commit2df911b8d9f35d293d6215a52dd77522078016af (patch)
tree8230bc3f1b7c156f4b7c9a0f6baaf5448862f873 /xmake/rules/xcode/xcassets/xmake.lua
parent515dbd9e94793b0bd126a19ecc8f482752897ed9 (diff)
parentdcc5abf105e7df9d47e37e18191bef2503edb085 (diff)
Merge pull request #4159 from xmake-io/rebuild
improve to rebuild target #4154
Diffstat (limited to 'xmake/rules/xcode/xcassets/xmake.lua')
-rw-r--r--xmake/rules/xcode/xcassets/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/xcassets/xmake.lua b/xmake/rules/xcode/xcassets/xmake.lua
index 9322d10c1..4479b6b95 100644
--- a/xmake/rules/xcode/xcassets/xmake.lua
+++ b/xmake/rules/xcode/xcassets/xmake.lua
@@ -43,7 +43,7 @@ rule("xcode.xcassets")
-- need re-compile it?
local dependfile = target:dependfile(sourcefile)
- local dependinfo = option.get("rebuild") and {} or (depend.load(dependfile) or {})
+ local dependinfo = target:is_rebuilt() and {} or (depend.load(dependfile) or {})
if not depend.is_changed(dependinfo, {lastmtime = os.mtime(dependfile)}) then
return
end