pub fn write_source(root: &Path, compiled: &Compiled) -> Result<(), String>
Writes compiled.source to GENERATED_FILE (only when it changed); deletes it when the mod has no content files.
compiled.source
GENERATED_FILE