summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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