Switch over to WebAssembly, Rust and Yew #35

Merged
BlakeRain merged 87 commits from yew-static into main 2023-08-30 18:01:40 +00:00
Showing only changes of commit ca40bee1d3 - Show all commits

View File

@ -113,8 +113,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let out_dir = root_dir.join("output"); let out_dir = root_dir.join("output");
log::info!("Removing existing output directory: {out_dir:?}"); if out_dir.exists() {
tokio::fs::remove_dir_all(&out_dir).await?; log::info!("Removing existing output directory: {out_dir:?}");
tokio::fs::remove_dir_all(&out_dir).await?;
}
log::info!("Creating output directory: {out_dir:?}"); log::info!("Creating output directory: {out_dir:?}");
tokio::fs::create_dir_all(&out_dir).await?; tokio::fs::create_dir_all(&out_dir).await?;