This version of the module is deprecated: This package is deprecated. moonbit-community/proton_config should be preferred.
Typed config parser for Proton moon.proton and moon.ext files.
justjavac/proton_config does not have a README file
fn ProjectBundleConfig::new(active? : Bool, targets? : Array[String], icon? : Array[String], resources? : Array[String], output? : String) -> ProjectBundleConfigpub(all) struct ProjectConfig {
base_dir : String
window : ProjectWindowConfig
entry : ProjectEntry
metadata : ProjectMetadata
frontend : ProjectFrontendConfig?
bundle : ProjectBundleConfig?
debug : Int
} derive(Eq, Debug)fn ProjectConfig::new(base_dir : String, window : ProjectWindowConfig, entry : ProjectEntry, metadata : ProjectMetadata, frontend? : ProjectFrontendConfig?, bundle? : ProjectBundleConfig?, debug? : Int) -> ProjectConfigfn ProjectFrontendConfig::new(dev_url? : String?, dist? : String?, before_dev? : String?, before_build? : String?, cwd? : String?) -> ProjectFrontendConfigfn ProjectMetadata::new(product_name : String, identifier? : String?, version? : String?, description? : String?, license? : String?) -> ProjectMetadatapub(all) struct ProjectWindowConfig {
title : String
width : Int
height : Int
size_hint : ProjectWindowSizeHint
} derive(Eq, Debug)fn ProjectWindowConfig::new(title : String, width : Int, height : Int, size_hint? : ProjectWindowSizeHint) -> ProjectWindowConfigfn load_project_config_from_text(source : String, base_dir : String, name? : String) -> Result[ProjectConfig, String]