summaryrefslogtreecommitdiff
path: root/xmake/actions/require/impl/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-26 22:41:32 +0800
committerruki <[email protected]>2019-03-26 10:09:13 +0800
commitbaa44e2c153a39558968740b5799b26ed7f546df (patch)
tree490b9044bccec99d973fc806d8690214f88912b7 /xmake/actions/require/impl/package.lua
parent68c02694b246cd6e11e3d18e8cb4327877144c74 (diff)
uses git.apply to instead of patch
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
-rw-r--r--xmake/actions/require/impl/package.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua
index 6e2978a32..c59323b09 100644
--- a/xmake/actions/require/impl/package.lua
+++ b/xmake/actions/require/impl/package.lua
@@ -473,9 +473,12 @@ function _get_confirm(packages)
return confirm
end
--- patch some dependent builtin packages
+-- patch some builtin dependent packages
function _patch_packages(packages_install, packages_download)
+ -- @NOTE use git.apply instead of patch
+ -- we can add some builtin packages like this
+ --[[
-- add package(patch)
local patched_package = nil
for _, package in ipairs(packages_install) do
@@ -497,6 +500,7 @@ function _patch_packages(packages_install, packages_download)
patched_package:deps_add(package)
end
end
+ ]]
end
-- install packages