Skip to content

Commit

Permalink
feat(shokunin): decoupling the write utility fn
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Sep 8, 2023
1 parent 220a262 commit 505baa6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ use crate::{
},
navigation::generate_navigation,
template::{render_page, PageOptions},
utilities::file::add,
write::write_files,
utilities::{file::add, write::write_files},
};
use std::{error::Error, fs, path::Path, collections::HashMap};

Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ pub mod process;
/// template.
pub mod template;

/// The `write` module contains functions for writing files.
pub mod write;

/// The `utilities` module contains utility functions.
pub mod utilities;

Expand Down
5 changes: 4 additions & 1 deletion src/utilities/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@
pub mod minification;

/// The `serve` module contains functions for the development server.
pub mod serve;
pub mod serve;

/// The `write` module contains functions for writing files.
pub mod write;
File renamed without changes.

0 comments on commit 505baa6

Please sign in to comment.