diff options
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) |
