diff --git a/src/manifest/target.rs b/src/manifest/target.rs index 850527c..4e0fb31 100644 --- a/src/manifest/target.rs +++ b/src/manifest/target.rs @@ -117,6 +117,9 @@ pub enum Target { /// The path to the bin export file #[serde(default, skip_serializing_if = "Option::is_none")] bin: Option, + /// The exported scripts + #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] + scripts: BTreeMap, }, } @@ -164,6 +167,7 @@ impl Target { pub fn scripts(&self) -> Option<&BTreeMap> { match self { Target::Lune { scripts, .. } => Some(scripts), + Target::Luau { scripts, .. } => Some(scripts), _ => None, } }