Skip to main content

write_sources

Function write_sources 

Source
pub fn write_sources(root: &Path, compiled: &Compiled) -> Result<(), String>
Expand description

Writes .yog-build/generated/resources/<Set>.g.rs per set and .yog-build/generated/resources.g.rs including them all (what yog_api::resources!() pulls in as crate::res); deletes those of sets that are gone.