diff options
| author | ruki <[email protected]> | 2023-10-11 00:46:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-11 00:46:12 +0800 |
| commit | 5ccc226acf853c44e845ee76c7adc16ce7799de1 (patch) | |
| tree | 25ce8430d3f73dde38b90ca2fa93f728339caeca /xmake/core/project/policy.lua | |
| parent | cfb5ce758e5ffd7bcc41d09fafa9d5be3604c7a8 (diff) | |
add diagnosis.check_build_deps policy
Diffstat (limited to 'xmake/core/project/policy.lua')
| -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 02a6132df..aa8e9ef9d 100644 --- a/xmake/core/project/policy.lua +++ b/xmake/core/project/policy.lua @@ -118,7 +118,9 @@ function policy.policies() -- Stop to test on the first failure ["test.stop_on_first_failure"] = {description = "Stop to test on the first failure", default = false, type = "boolean"}, -- Return zero as exit code on failure - ["test.return_zero_on_failure"] = {description = "Return zero as the exit code on failure", default = false, type = "boolean"} + ["test.return_zero_on_failure"] = {description = "Return zero as the exit code on failure", default = false, type = "boolean"}, + -- Show diagnosis info for checking build dependencies + ["diagnosis.check_build_deps"] = {description = "Show diagnosis info for checking build dependencies", default = false, type = "boolean"} } policy._POLICIES = policies end |
