summaryrefslogtreecommitdiff
path: root/xmake/includes/xpack/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-10 22:55:10 +0800
committerruki <[email protected]>2023-11-10 22:55:10 +0800
commitff33f52afebb41b4d281e9b4f7c9c6711a1e422c (patch)
treed7e9c6c2a5b36bf27c28944932b5f47465409e8b /xmake/includes/xpack/xmake.lua
parent28197467e651b9a92d7076a56783eb00b3dfaeb2 (diff)
get specfile
Diffstat (limited to 'xmake/includes/xpack/xmake.lua')
-rw-r--r--xmake/includes/xpack/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua
index a6a3f1cea..6d6cb99ec 100644
--- a/xmake/includes/xpack/xmake.lua
+++ b/xmake/includes/xpack/xmake.lua
@@ -38,6 +38,10 @@ local apis = {
"xpack.set_license",
-- set package formats, e.g. nsis, deb, rpm, targz, zip, runself, ...
"xpack.set_formats",
+ -- set the base name of the output file
+ "xpack.set_basename",
+ -- set the spec file path
+ "xpack.set_specfile",
-- add targets to be packaged
"xpack.add_targets",
-- add install files, we will also get them from target