Add build command argument
This commit is contained in:
parent
d3f2d25a0f
commit
a589bcb799
4 changed files with 13 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue