mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Add warning for rojo build to rbxl
This commit is contained in:
parent
075b6cca30
commit
a587ba4558
2 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,10 @@ pub fn build(options: &BuildOptions) -> Result<(), BuildError> {
|
|||
rbx_binary::encode(&tree, &[root_id], &mut file)?;
|
||||
},
|
||||
OutputKind::Rbxl => {
|
||||
log::warn!("Support for building binary places (rbxl) is still experimental.");
|
||||
log::warn!("Using the XML place format (rbxlx) is recommended instead.");
|
||||
log::warn!("For more info, see https://github.com/LPGhatguy/rojo/issues/180");
|
||||
|
||||
let root_id = tree.get_root_id();
|
||||
let top_level_ids = tree.get_instance(root_id).unwrap().get_children_ids();
|
||||
rbx_binary::encode(&tree, top_level_ids, &mut file)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue