Skip to content

Commit

Permalink
disable package binary target
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jun 17, 2016
1 parent cef0656 commit 425b795
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions xmake/actions/package/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 425b795

Please sign in to comment.