diff options
| author | ruki <[email protected]> | 2025-12-27 20:41:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-27 20:42:33 +0800 |
| commit | 0f90b217b3e6351e1e9d2f4145beafbd28553ee2 (patch) | |
| tree | 37ce71a3f86d4e6f6e8822e2b85ff4a195d1cac2 /xmake/plugins/pack/xpack.lua | |
| parent | 7ee27a5e5a58b4d8a51ec0d2c0fc153239cb6722 (diff) | |
parallel packpack
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index bccb93cfa..a20b480bc 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -261,7 +261,11 @@ end -- get the build directory function xpack:builddir() - return path.join(config.builddir(), ".xpack", self:name()) + local dir = path.join(config.builddir(), ".xpack", self:name()) + if self:format() then + dir = path.join(dir, self:format()) + end + return dir end -- get the build directory (deprecated) |
