diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-11 11:46:04 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-11 11:46:04 +0200 |
commit | 16d7c1656ba743f3c1f887f708d05f7dd3b82e5f (patch) | |
tree | 6903df9c1d6016b475a557fd17c902ef2db54610 | |
parent | 71a2459012df43239657aede7f24733f2e9dfc46 (diff) | |
parent | c33eb4e7d079ac75430ad6b72ac2df3fb9644c91 (diff) | |
download | rules-cc-16d7c1656ba743f3c1f887f708d05f7dd3b82e5f.tar.gz |
Merge subtree 'rules' into rules-cc
-rw-r--r-- | rules/lint/RULES | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/rules/lint/RULES b/rules/lint/RULES index 1d25102..fef578a 100644 --- a/rules/lint/RULES +++ b/rules/lint/RULES @@ -55,16 +55,16 @@ { "linter": [ "Single artifact running the lint checks." , "" - , "This artifact with" + , "This program is invoked with" , "- argv[1] the file to lint, and" , "- argv[2:] the original command line." , "This invocation happens in an environment with" , "- CONFIG pointing to the directory with all the artifacts given" - , " by the field \"config\"." + , " by the field \"config\", and" , "- OUT pointing to a directory to which files with the lint result" , " can be written." - , "The linter is supposed to indicate by the exit code whether the" - , "indicated file complies with the given linting policy, with 0 meaning" + , "It is supposed to indicate by the exit code whether the file to lint" + , "complies with the given linting policy, with 0 meaning" , "compliant." , "Stdout and stderr, as well as the directory ${OUT} can be used to" , "provide additional information." @@ -72,14 +72,14 @@ , "config": ["Any configuration or other files needed by the linter."] , "summarizer": [ "Single artifact generating a summary of the individual lint results." - , "It will be called in a directory where all subdirectories with names" - , "consisting entirely of digits are the results of the individual lint" + , "It will be called in a directory where all subdirectories" + , "except . and .. represent the results of the individual lint" , "actions. Those are given as" - , " - a file result with content PASS if and only if the lint action" - , " exited 0," - , " - files stdout and stderr with stdout and stderr of the lint" + , " - a file \"result\" with content \"PASS\" if and only if the lint" + , " action exited 0," + , " - files \"stdout\" and \"stderr\" with stdout and stderr of the lint" , " action, and" - , " - a directory out with the additional information provided by the" + , " - a directory \"out\" with the additional information provided by the" , " lint action." , "The summarizer is required to indicate the overall result by the exit" , "code, produce a human-readable summary on stdout, and optionally" |