From 425b7950bc81eb88c349ecbb190e02b1558fbbed Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Jun 2016 18:31:17 +0800 Subject: disable package binary target --- xmake/actions/package/main.lua | 12 +----------- 1 file changed, 1 insertion(+), 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 } -- cgit v1.3.1