From 7c34b4d23cad331acd23d452da34723541bcad7d Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Mon, 12 Sep 2022 12:50:54 +0300 Subject: [PATCH] xlint: check if nocross or broken have value of 'yes' They should give some hint or buildlog link as to why they're not being built. --- xlint | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xlint b/xlint index 34ca604..3bb04d7 100755 --- a/xlint +++ b/xlint @@ -486,6 +486,8 @@ for argument; do scan "cargo update (--package|-p) [A-Za-z_][A-Za-z0-9_]*(?!\:[0-9]+\.[0-9]+\.[0-9]+)(\s.+)?$" '"cargo update" commands should include the specific version we are updating from in the --package SPEC' scan "cargo update (--package|-p) [A-Za-z_][A-Za-z0-9_-]*\:[0-9]+\.[0-9]+\.[0-9]+(?!--precise [0-9]+\.[0-9]+\.[0-9]+)$" '"cargo update" commands should include the specific version we are updating to, using --precise' scan '-D([[:alnum:]_-]+)=\$\(vopt_if \1 true false\)' 'use $(vopt_bool ...) instead of -D...=$(vopt_if ...)' + scan "nocross=[\"']?yes[\"']?" 'nocross should briefly describe the build failure or link to a buildlog' + scan "broken=[\"']?yes[\"']?" 'broken should briefly describe the build failure or link to a buildlog' variables_order | grep -Pv "($old_variables)=" header file_end