Skip to main content

generate_file

Function generate_file 

Source
pub fn generate_file(root: &Path, yui: &Path) -> Result<PathBuf, String>
Expand description

Generates .yog-build/generated/<name>.g.rs for one .yui file of the project at root — only rewritten when the output changed, so cargo doesn’t rebuild for nothing.