diff --git a/generate/src/main.rs b/generate/src/main.rs index aa4f6ad..43a249c 100644 --- a/generate/src/main.rs +++ b/generate/src/main.rs @@ -149,6 +149,19 @@ fn main() { } let mut out = Output::new(); + writeln!( + out, + "// \x40generated by ../generate. To regenerate, run the following in the repo root:", + ); + writeln!(out, "//"); + writeln!( + out, + "// $ curl -LO https://www.unicode.org/Public/zipped/14.0.0/UCD.zip", + ); + writeln!(out, "// $ unzip UCD.zip -d UCD"); + writeln!(out, "// $ cargo run --manifest-path generate/Cargo.toml"); + writeln!(out); + writeln!(out, "const T: bool = true;"); writeln!(out, "const F: bool = false;"); writeln!(out); diff --git a/src/tables.rs b/src/tables.rs index 53aa5b5..a697636 100644 --- a/src/tables.rs +++ b/src/tables.rs @@ -1,3 +1,9 @@ +// @generated by ../generate. To regenerate, run the following in the repo root: +// +// $ curl -LO https://www.unicode.org/Public/zipped/14.0.0/UCD.zip +// $ unzip UCD.zip -d UCD +// $ cargo run --manifest-path generate/Cargo.toml + const T: bool = true; const F: bool = false;