File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ edition = "2024"
66
77[dependencies ]
88bevy_mod_scripting_bindings = { path = " {{BMS_BINDINGS_PATH}}" }
9- bevy_reflect = { version = " 0.16.0 " , features = [
9+ bevy_reflect = { version = " 0.17 " , features = [
1010 " smol_str" ,
1111 " glam" ,
1212 " petgraph" ,
Original file line number Diff line number Diff line change @@ -1216,13 +1216,15 @@ impl Xtasks {
12161216 ) ?;
12171217
12181218 let metadata = Self :: main_workspace_cargo_metadata ( ) ?;
1219+
12191220 let bevy_version = metadata
12201221 . packages
12211222 . iter ( )
1222- . find ( |p| p. name . as_str ( ) == "bevy" )
1223- . expect ( "Could not find bevy package in metadata" )
1224- . version
1225- . clone ( ) ;
1223+ . filter_map ( |p| ( p. name . as_str ( ) == "bevy" ) . then_some ( & p. version ) )
1224+ . max ( )
1225+ . expect ( "could not find bevy package in metadata" ) ;
1226+
1227+ log:: info!( "Using bevy version {bevy_version}" ) ;
12261228 // create directories if they don't already exist
12271229 std:: fs:: create_dir_all ( & bevy_dir) ?;
12281230 std:: fs:: create_dir_all ( & output_dir) ?;
You can’t perform that action at this time.
0 commit comments