add placeholder for checking image sizes in generated album
This commit is contained in:
parent
64f4d7e049
commit
574a60ae8d
1 changed files with 5 additions and 1 deletions
|
@ -97,8 +97,12 @@ fn check_album(album_dir: PathBuf) -> anyhow::Result<()> {
|
|||
// - <image>.screen.<ext>
|
||||
// - <image>.thumb.<ext>
|
||||
for file in &files {
|
||||
for ext in ["html", "screen.jpg", "thumb.jpg"] {
|
||||
assert!(slides_path.join(file.with_extension("html")).exists());
|
||||
for ext in ["screen.jpg", "thumb.jpg"] {
|
||||
assert!(slides_path.join(file.with_extension(ext)).exists());
|
||||
|
||||
// Make sure the screen/thumb is smaller than the original
|
||||
todo!();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue