summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-18 00:38:38 +0800
committerruki <[email protected]>2023-11-18 00:38:38 +0800
commit151b4ba88313652627da6f6747ed11bca6edc86c (patch)
tree40e3e618ca22ae4e838319d458285698ce7528ee
parent76d63abc88586d3e51179773c1112f1eee76a8e8 (diff)
add homepage and copyright
-rw-r--r--core/xpack.lua6
-rw-r--r--xmake/plugins/pack/xpack.lua2
2 files changed, 5 insertions, 3 deletions
diff --git a/core/xpack.lua b/core/xpack.lua
index eb61f49e4..86c87fc83 100644
--- a/core/xpack.lua
+++ b/core/xpack.lua
@@ -1,7 +1,9 @@
xpack("xmake")
- set_formats("nsis", "zip")
- set_description("A cross-platform build utility based on Lua. https://xmake.io")
+ set_homepage("https://xmake.io")
+ set_description("A cross-platform build utility based on Lua.")
+ set_copyright("Copyright (C) 2015-present, TBOOX Open Source Group")
set_licensefile("../LICENSE.md")
+ set_formats("nsis", "zip")
add_targets("demo")
set_bindir(".")
set_iconfile("src/demo/xmake.ico")
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 1a6eb914f..71fd3ac08 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -449,7 +449,7 @@ end
-- get the install directory, this is just a temporary sandbox installation path,
-- we may replace it with the actual installation path in the specfile
function xpack:installdir(...)
- return path.join(self:buildir(), "installed", self:format(), ...)
+ return path.normalize(path.join(self:buildir(), "installed", self:format(), ...))
end
-- get the binary directory