lavender.software/build_src/assets.rs

9 lines
206 B
Rust
Raw Permalink Normal View History

2022-03-05 14:41:57 +00:00
use crate::*;
pub fn copy_assets(ctx: &BuildContext) -> Result<()> {
log_info("Copying assets…");
copy_dir_recursive(ctx.source_dir.join("assets"), ctx.output_dir.join("assets"))?;
Ok(())
}