diff options
| author | ruki <[email protected]> | 2023-11-23 22:38:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-23 22:10:50 +0800 |
| commit | 95195e3199a3e03e66e6be94bf14c83c694cc8ff (patch) | |
| tree | 0bdba24bf316824906ef4497eee26ece9f44f09c /xmake/plugins/pack/xpack.lua | |
| parent | 6b400aa1f7a578694079ccb84813a02192cb28e6 (diff) | |
add runself stub
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index e5829fd45..6715fb178 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -325,7 +325,8 @@ end -- get the specfile path function xpack:specfile() local extensions = { - nsis = ".nsi" + nsis = ".nsi", + runself = ".sh" } local extension = extensions[self:format()] or ".spec" return self:get("specfile") or path.join(self:buildir(), self:basename() .. extension) @@ -338,7 +339,8 @@ function xpack:extension() local extensions = { nsis = ".exe", zip = ".zip", - targz = ".tar.gz" + targz = ".tar.gz", + runself = ".sh" } extension = extensions[self:format()] or "" end |
