summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillaaaaaaa <[email protected]>2025-12-01 23:38:09 +0800
committerWillaaaaaaa <[email protected]>2025-12-01 23:38:09 +0800
commite262e6f9f3d0e1a1d60a66627ea5b56f4731f8a6 (patch)
treea242333335bdac66c70958b0612981f67d1fa5a0
parent92b61ab2648cc37da47874a4bab4d487a9a01202 (diff)
add value type for policy package.download.http_headers
-rw-r--r--xmake/core/project/policy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index d2aca60cb..6a3393cce 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -148,7 +148,7 @@ function policy.policies()
-- Install packages in the local project folder
["package.install_locally"] = {description = "Install packages in the local project folder.", default = false, type = "boolean"},
-- Set custom headers when downloading package
- ["package.download.http_headers"] = {description = "Set the custom http headers when downloading package."},
+ ["package.download.http_headers"] = {description = "Set the custom http headers when downloading package.", type = "table"},
-- Use includes as external header files? e.g. -isystem ..
["package.include_external_headers"] = {description = "Use includes as external headers.", type = "boolean"},
-- Inherit the configs from the external command arguments, e.g. toolchains, `xmake f --toolchain=`