diff options
| author | ruki <[email protected]> | 2020-04-05 16:15:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-05 16:15:13 +0800 |
| commit | a60c8e6025e597fd569a41e5add672d87bd4ca5a (patch) | |
| tree | ad3c7e486f6677b67eeccb86544e5c77e1b586c1 /xmake/modules/private/tools/codesign.lua | |
| parent | b6436a2df4a37f82e38723711937743daceb5367 (diff) | |
add codesign config
Diffstat (limited to 'xmake/modules/private/tools/codesign.lua')
| -rw-r--r-- | xmake/modules/private/tools/codesign.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/tools/codesign.lua b/xmake/modules/private/tools/codesign.lua index c0eee25b2..8bdeabcac 100644 --- a/xmake/modules/private/tools/codesign.lua +++ b/xmake/modules/private/tools/codesign.lua @@ -22,7 +22,7 @@ import("lib.detect.find_tool") -- get codesign identities -function _get_codesign_identities() +function codesign_identities() local identities = _g.identities if identities == nil then identities = {} @@ -68,7 +68,7 @@ function main (programdir, codesign_identity) -- get codesign local sign = "-" if codesign_identity then - local identities = _get_codesign_identities() + local identities = codesign_identities() if identities then sign = identities[codesign_identity] assert(sign, "codesign: invalid sign identity(%s)!", codesign_identity) |
