Skip to main content

export_project

Function export_project 

Source
pub fn export_project(project: &Project, output_dir: &Path) -> Result<()>
Expand description

Packages project into a standalone folder at output_dir: the prebuilt runtime export template (see find_template), renamed to the project’s name, plus a res/ folder holding the project’s assets, scripts, and scenes — the exact layout runtime’s own res_dir/ load_manifest expect. Pure file copying, no compilation — see the export/compile implementation plan for why.