Skip to main content

SH_GEN_START

Constant SH_GEN_START 

Source
pub const SH_GEN_START: &str = "# --- generated: choir surface, do not edit ---";
Expand description

The same pair for a shell file, where an HTML comment is a syntax error rather than a comment.

Learned by running sh -n on the first generated copy: the markers spliced in cleanly, the file was well-formed markdown, and sh refused it at line 120. A generated artifact nobody executes is one nobody notices is broken.