diff options
| author | ruki <[email protected]> | 2021-08-14 14:03:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-14 14:03:09 +0800 |
| commit | 309b9ca8f38df147940a37e1698ae662bd4346b3 (patch) | |
| tree | b63b075de23879cb5312e8ae1b6695ac90d2ab01 | |
| parent | 246711d74ea45b554456fdb6ac44a83f5424824a (diff) | |
add package.requires_lock policy
| -rw-r--r-- | xmake/core/project/policy.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua index 7040182a2..c624aed96 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -44,7 +44,9 @@ function policy.policies() -- we can compile the source files for each target in parallel ["build.across_targets_in_parallel"] = {description = "Enable compile the source files for each target in parallel.", default = true, type = "boolean"}, -- we need enable longpaths when building target or installing package - ["platform.longpaths"] = {description = "Enable long paths when building target or installing package on windows.", default = false, type = "boolean"} + ["platform.longpaths"] = {description = "Enable long paths when building target or installing package on windows.", default = false, type = "boolean"}, + -- lock required packages + ["package.requires_lock"] = {description = "Enable xmake-requires.lock to lock required packages.", default = false, type = "boolean"} } policy._POLICIES = policies end |
