forked from rojo-rbx/rojo
Add warning for rojo build to rbxl
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Rojo Changelog
|
# Rojo Changelog
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
* Added a warning when building binary place files, since they're still experimental.
|
||||||
|
|
||||||
## [0.5.0 Alpha 11](https://github.com/LPGhatguy/rojo/releases/tag/v0.5.0-alpha.11) (May 29, 2019)
|
## [0.5.0 Alpha 11](https://github.com/LPGhatguy/rojo/releases/tag/v0.5.0-alpha.11) (May 29, 2019)
|
||||||
* Added support for implicit property values in JSON model files ([#154](https://github.com/LPGhatguy/rojo/pull/154))
|
* Added support for implicit property values in JSON model files ([#154](https://github.com/LPGhatguy/rojo/pull/154))
|
||||||
|
|||||||
@@ -120,6 +120,10 @@ pub fn build(options: &BuildOptions) -> Result<(), BuildError> {
|
|||||||
rbx_binary::encode(&tree, &[root_id], &mut file)?;
|
rbx_binary::encode(&tree, &[root_id], &mut file)?;
|
||||||
},
|
},
|
||||||
OutputKind::Rbxl => {
|
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 root_id = tree.get_root_id();
|
||||||
let top_level_ids = tree.get_instance(root_id).unwrap().get_children_ids();
|
let top_level_ids = tree.get_instance(root_id).unwrap().get_children_ids();
|
||||||
rbx_binary::encode(&tree, top_level_ids, &mut file)?;
|
rbx_binary::encode(&tree, top_level_ids, &mut file)?;
|
||||||
|
|||||||
Reference in New Issue
Block a user