Add build command argument

This commit is contained in:
Elnu 2025-03-26 14:55:39 -07:00
parent d3f2d25a0f
commit a589bcb799
4 changed files with 13 additions and 2 deletions

View file

@ -145,7 +145,7 @@ pub fn to_fullwidth(string: &str) -> String {
}
pub fn rebuild_site() {
Command::new("./build.sh")
Command::new(&ARGS.build)
.current_dir(&ARGS.hugo)
.status()
.expect("Failed to rebuild site");