Skip to main content

try_read_profiles

Function try_read_profiles 

Source
pub fn try_read_profiles(
    project_root: &Path,
) -> Result<BTreeMap<String, ProfileConfig>, ProjectPathsError>
Expand description

Read bynk.toml’s [profile] table alone (#3107), so bynk test and bynk deploy consult the profiles without reading [build]. No manifest, or no [profile], is empty; a bad profile is ProjectPathsError::BadProfile.