diff options
| author | ruki <[email protected]> | 2023-11-25 22:09:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-25 22:09:42 +0800 |
| commit | 8865866a47f023f4b36453d25c75e876f503323d (patch) | |
| tree | a23775879a9bb1a8e02338a5322b18ea3c1af00e /xmake/plugins/pack/xpack_component.lua | |
| parent | 495d1a409cd1754fd0494ab1a5a51b41d6e10d0a (diff) | |
fix error
Diffstat (limited to 'xmake/plugins/pack/xpack_component.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack_component.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xpack_component.lua b/xmake/plugins/pack/xpack_component.lua index bb0f5f454..dd2c36069 100644 --- a/xmake/plugins/pack/xpack_component.lua +++ b/xmake/plugins/pack/xpack_component.lua @@ -281,6 +281,16 @@ function xpack_component:includedir() return self:package():includedir() end +-- pack from source files? +function xpack_component:from_source() + return self:package():from_source() +end + +-- pack from binary files? +function xpack_component:from_binary() + return self:package():from_binary() +end + -- new a xpack_component function new(name, info, package) return xpack_component {name, info:clone(), package} |
