add tidy check on dist src files order

Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
onur-ozkan 2025-01-17 11:20:13 +03:00
parent 0c2c096e1a
commit 7874ba2f40

View file

@ -994,20 +994,22 @@ impl Step for PlainSourceTarball {
// This is the set of root paths which will become part of the source package
let src_files = [
// tidy-alphabetical-start
".gitmodules",
"Cargo.lock",
"Cargo.toml",
"config.example.toml",
"configure",
"CONTRIBUTING.md",
"COPYRIGHT",
"LICENSE-APACHE",
"license-metadata.json",
"LICENSE-MIT",
"CONTRIBUTING.md",
"README.md",
"RELEASES.md",
"REUSE.toml",
"license-metadata.json",
"configure",
"x.py",
"config.example.toml",
"Cargo.toml",
"Cargo.lock",
".gitmodules",
// tidy-alphabetical-end
];
let src_dirs = ["src", "compiler", "library", "tests", "LICENSES"];