diff options
| author | ruki <[email protected]> | 2020-04-10 23:51:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-10 17:08:11 +0800 |
| commit | 4308c0b8f648817af03fadcf658f985b57d9aad4 (patch) | |
| tree | 511ea4dd0a41d8d1c0e007cf31928184474f154c /xmake/rules/xcode | |
| parent | 1127c631b060a8f95e30cde3f89e2dd97fd34e5c (diff) | |
improve to xcode.xcassets rule
Diffstat (limited to 'xmake/rules/xcode')
| -rw-r--r-- | xmake/rules/xcode/xcassets/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/xcode/xcassets/xmake.lua b/xmake/rules/xcode/xcassets/xmake.lua index 8017181c6..a84d3c8ff 100644 --- a/xmake/rules/xcode/xcassets/xmake.lua +++ b/xmake/rules/xcode/xcassets/xmake.lua @@ -45,6 +45,11 @@ rule("xcode.xcassets") if not depend.is_changed(dependinfo, {lastmtime = os.mtime(dependfile)}) then return end + + -- ensure resources directory exists + if not os.isdir(resourcesdir) then + os.mkdir(resourcesdir) + end -- trace progress info cprintf("${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} ", opt.progress) |
