Skip to content

Commit

Permalink
xlint: check if nocross or broken have value of 'yes'
Browse files Browse the repository at this point in the history
They should give some hint or buildlog link as to why they're not being
built.
  • Loading branch information
JamiKettunen committed Sep 12, 2022
1 parent 1aa10d7 commit 3104367
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xlint
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,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
header
file_end
Expand Down

0 comments on commit 3104367

Please sign in to comment.