diff options
| author | ruki <[email protected]> | 2020-04-08 23:23:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-08 14:21:08 +0800 |
| commit | 5ea1ffd7512c5dc2633acee56751ade0eed41365 (patch) | |
| tree | 1e227c8925d3cb6d62f4432fef3518664127b806 /xmake/rules/xcode/application/build.lua | |
| parent | 088df3a0bbe2bd99b5d60a5a1f5fb54d4be1673d (diff) | |
build storyboard for xcode.app
Diffstat (limited to 'xmake/rules/xcode/application/build.lua')
| -rw-r--r-- | xmake/rules/xcode/application/build.lua | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/xmake/rules/xcode/application/build.lua b/xmake/rules/xcode/application/build.lua index 889748bfd..57f4c82b6 100644 --- a/xmake/rules/xcode/application/build.lua +++ b/xmake/rules/xcode/application/build.lua @@ -41,14 +41,9 @@ end -- main entry function main (target) - -- get app directory - local appdir = path.absolute(target:data("xcode.appdir")) - - -- get contents directory - local contentsdir = appdir - if is_plat("macosx") then - contentsdir = path.join(appdir, "Contents") - end + -- get app and contents directory + local appdir = path.absolute(target:data("xcode.app.rootdir")) + local contentsdir = path.absolute(target:data("xcode.app.contentsdir")) -- copy PkgInfo to the contents directory os.cp(path.join(os.programdir(), "scripts", "PkgInfo"), contentsdir) |
