Skip to main content

load_setup_spec

Function load_setup_spec 

Source
pub fn load_setup_spec(pack_path: &Path) -> Result<Option<SetupSpec>>
Expand description

Load a SetupSpec from assets/setup.yaml inside a .gtpack archive.

Falls back to reading setup.yaml from the filesystem next to the pack (sibling or assets/ subdirectory) when the archive does not contain it.