summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-09 23:00:41 +0800
committerruki <[email protected]>2023-11-09 23:00:41 +0800
commitc5e5f95aa56f9045c0d17bb7abf8127f6dbf6131 (patch)
tree7e97a554aa13a54b9cbf03a937763032d4559368
parent52795181f82fdbb8e948b44d4d291d70a3852d39 (diff)
fix xpack apis
-rw-r--r--xmake/includes/xpack/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/includes/xpack/xmake.lua b/xmake/includes/xpack/xmake.lua
index 3491fa7ba..6191cd003 100644
--- a/xmake/includes/xpack/xmake.lua
+++ b/xmake/includes/xpack/xmake.lua
@@ -43,7 +43,9 @@ local apis = {
-- add install files, we will also get them from target
"xpack.add_installfiles",
-- set install directory, we will also get it from target
- "xpack.set_installdir",
+ "xpack.set_installdir"
+ },
+ script = {
-- add custom install commands script, we will also get it from target/rules
"xpack.on_installcmd",
-- add custom uninstall commands script, we will also get it from target/rules