From f4dc32eec4aa28c6cc4daadded5b05a47e40d658 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 28 May 2025 11:54:17 +0200 Subject: rules documentation: Fix typos --- CC/RULES | 2 +- shell/RULES | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CC/RULES b/CC/RULES index 82305d9..b57ae91 100644 --- a/CC/RULES +++ b/CC/RULES @@ -750,7 +750,7 @@ [ "Information related to packaging the library. This provider is a map," , "specifying \"name\" and \"version\" of the package, as well as" , "additional stages \"cflags-files\" and \"ldflags-files\" for files" - , "with compile-flags or link-flags, respctively." + , "with compile-flags or link-flags, respectively." ] } , "anonymous": diff --git a/shell/RULES b/shell/RULES index e747771..7dccda3 100644 --- a/shell/RULES +++ b/shell/RULES @@ -157,7 +157,7 @@ } , "cmds": { "doc": - [ "Execute comands using the shell" + [ "Execute commands using the shell" , "" , "This rule behaves similar to the built-in \"generic\" rule, however" , "with the difference that the shell toolchain is honored." @@ -168,7 +168,7 @@ , "field_doc": { "deps": [ "Any inputs to the argument." - , "Both, artifacts and rufiles of the dependecies are staged into" + , "Both, artifacts and runfiles of the dependencies are staged into" , "the (effective) working directory of the action. Conflicts are" , "resolved by giving artifacts priority to runfiles, and within" , "each of those priority to ones brought by the latest dependency." @@ -177,7 +177,7 @@ [ "The command to be executed." , "Individual entries are joined by newline characters; the whole" , "script is then prefixed by commands necessary to set up the" - , "work environment using the shell tool chain." + , "work environment using the shell toolchain." ] , "defaults": ["The shell toolchain to use."] , "outs": ["The expected file outputs"] -- cgit v1.2.3 From 84fab3fd11c78f4382017831d23d1d8dcdd64b55 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 28 May 2025 11:55:34 +0200 Subject: rules lint: Fix spacing for missing target name --- lint/RULES | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lint/RULES b/lint/RULES index 684ec2f..add3cdb 100644 --- a/lint/RULES +++ b/lint/RULES @@ -222,7 +222,11 @@ , "$1": [ "lint " , {"type": "var", "name": "name"} - , " failed for " + , { "type": "if" + , "cond": {"type": "var", "name": "name"} + , "then": " failed for " + , "else": "failed for " + } , {"type": "var", "name": "src"} ] } -- cgit v1.2.3 From e3bf397df26fc63c7348ec834bf7e6f31ef6f894 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 23 Jun 2025 16:10:24 +0200 Subject: rules foreign make: Fix typos in docs --- CC/foreign/make/RULES | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CC/foreign/make/RULES b/CC/foreign/make/RULES index 771a058..e831d4c 100644 --- a/CC/foreign/make/RULES +++ b/CC/foreign/make/RULES @@ -55,7 +55,7 @@ ] , "configure": ["Run ./configure if non-empty."] , "configure_options": - [ "The configure options (the \"--prefix\" option is automatically set." + [ "The configure options (the \"--prefix\" option is automatically set)." , "Variables can be accessed via \"$()\", e.g., \"$(TMPDIR)\"" , "for variable \"$TMPDIR\"." ] @@ -390,7 +390,7 @@ ] , "configure": ["Run ./configure if non-empty."] , "configure_options": - ["The configure options (the \"--prefix\" option is automatically set."] + ["The configure options (the \"--prefix\" option is automatically set)."] , "targets": [ "The Make targets to build in the specified order" , "(default: [\"install\"])." -- cgit v1.2.3