diff options
| author | ruki <[email protected]> | 2017-06-06 18:41:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-06 18:41:05 +0800 |
| commit | 2309c5ec03eb09842814bcf03fffa8fa93999acf (patch) | |
| tree | d0e796ee7eff59a38eae6979b069a574eb51fe40 /xmake/plugins/lua/scripts/lipo.lua | |
| parent | b62c9a1a532058db12fb73cdfeb0e174c8cbf2f2 (diff) | |
add find_library and remove some old codes
Diffstat (limited to 'xmake/plugins/lua/scripts/lipo.lua')
| -rw-r--r-- | xmake/plugins/lua/scripts/lipo.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xmake/plugins/lua/scripts/lipo.lua b/xmake/plugins/lua/scripts/lipo.lua index 9cd9c4c96..8b87eb9e0 100644 --- a/xmake/plugins/lua/scripts/lipo.lua +++ b/xmake/plugins/lua/scripts/lipo.lua @@ -23,7 +23,7 @@ -- -- imports -import("core.tool.tool") +import("detect.tool.find_lipo") -- main -- @@ -39,10 +39,8 @@ function main(...) end args = args[1] - -- check the lipo - local lipo = tool.check("xcrun lipo", nil, function (shellname) - os.run("xcrun -find lipo") - end) + -- find the lipo + local lipo = find_lipo() assert(lipo, "lipo not found!") -- run it |
