diff options
| author | ruki <[email protected]> | 2024-05-28 00:46:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-28 00:46:35 +0800 |
| commit | 5418438129181e769244553cde207082baf85077 (patch) | |
| tree | cc14199afb9db487d15ecce4332d23b381deccee /xmake/plugins/pack/xpack.lua | |
| parent | 1dfee59408ad9b09feeaaa72fbc4d66fbfd4486e (diff) | |
format code
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack.lua | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index ab48a99e6..8af36cdd9 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -190,16 +190,16 @@ function xpack:inputkind() local inputkind = self:get("inputkind") if inputkind == nil then local inputkinds = { - wix = "binary", - nsis = "binary", - zip = "binary", - targz = "binary", - srczip = "source", + wix = "binary", + nsis = "binary", + zip = "binary", + targz = "binary", + srczip = "source", srctargz = "source", - runself = "source", - deb = "source", - srpm = "source", - rpm = "source" + runself = "source", + deb = "source", + srpm = "source", + rpm = "source" } inputkind = inputkinds[self:format()] or "binary" end @@ -322,10 +322,10 @@ end -- get the specfile path function xpack:specfile() local extensions = { - wix = ".wxs", - nsis = ".nsi", - srpm = ".spec", - rpm = ".spec", + wix = ".wxs", + nsis = ".nsi", + srpm = ".spec", + rpm = ".spec", runself = ".lsm" } local extension = extensions[self:format()] or ".spec" |
