Skip to content

Commit 425b795

Browse files
committed
disable package binary target
1 parent cef0656 commit 425b795

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

xmake/actions/package/main.lua

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ import("core.project.global")
2828
import("core.project.project")
2929
import("core.platform.platform")
3030

31-
-- package binary
32-
function _package_binary(target)
33-
34-
-- the output directory
35-
local outputdir = option.get("outputdir") or config.get("buildir")
36-
37-
-- copy the target file
38-
os.cp(target:targetfile(), format("%s/%s.pkg/bin/$(mode)/$(plat)/$(arch)/%s", outputdir, target:name(), path.filename(target:targetfile())))
39-
end
40-
4131
-- package library
4232
function _package_library(target)
4333

@@ -123,7 +113,7 @@ function _package_target(target)
123113
-- get script
124114
local scripts =
125115
{
126-
binary = _package_binary
116+
binary = function (target) end
127117
, static = _package_library
128118
, shared = _package_library
129119
}

0 commit comments

Comments
 (0)