diff options
| author | ruki <[email protected]> | 2016-06-17 18:31:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-17 18:31:17 +0800 |
| commit | 425b7950bc81eb88c349ecbb190e02b1558fbbed (patch) | |
| tree | e63352079663c1926a07ad578189e84bb58bd739 | |
| parent | cef065615d6d0a636342ac8d5e3b18a9adfab93a (diff) | |
disable package binary target
| -rwxr-xr-x | xmake/actions/package/main.lua | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/xmake/actions/package/main.lua b/xmake/actions/package/main.lua index caa6aff53..6128eec15 100755 --- a/xmake/actions/package/main.lua +++ b/xmake/actions/package/main.lua @@ -28,16 +28,6 @@ import("core.project.global") import("core.project.project") import("core.platform.platform") --- package binary -function _package_binary(target) - - -- the output directory - local outputdir = option.get("outputdir") or config.get("buildir") - - -- copy the target file - os.cp(target:targetfile(), format("%s/%s.pkg/bin/$(mode)/$(plat)/$(arch)/%s", outputdir, target:name(), path.filename(target:targetfile()))) -end - -- package library function _package_library(target) @@ -123,7 +113,7 @@ function _package_target(target) -- get script local scripts = { - binary = _package_binary + binary = function (target) end , static = _package_library , shared = _package_library } |
