diff options
| author | ruki <[email protected]> | 2023-11-10 22:55:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-10 22:55:10 +0800 |
| commit | ff33f52afebb41b4d281e9b4f7c9c6711a1e422c (patch) | |
| tree | d7e9c6c2a5b36bf27c28944932b5f47465409e8b /xmake/plugins/pack/main.lua | |
| parent | 28197467e651b9a92d7076a56783eb00b3dfaeb2 (diff) | |
get specfile
Diffstat (limited to 'xmake/plugins/pack/main.lua')
| -rw-r--r-- | xmake/plugins/pack/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/pack/main.lua b/xmake/plugins/pack/main.lua index 513888061..1da430d24 100644 --- a/xmake/plugins/pack/main.lua +++ b/xmake/plugins/pack/main.lua @@ -28,7 +28,8 @@ import("xpack") function _pack_package(package) assert(package:formats(), "xpack(%s): formats not found, please use `set_formats()` to set it.", package:name()) for _, format in package:formats():keys() do - import(format)(package, {format = format}) + package:format_set(format) + import(format)(package) end end |
