Fix not being able to run bevy_ui tests (#16358)

Fixes #16316

Tweaked a few crates cargo files until I was able to build and test
`bevy_ui` via `cargo test --package bevy_ui`

- ran `cargo test --package bevy_ui` successfully
- CI should catch anything amiss (Hopefully?)
This commit is contained in:
Brett Striker 2024-11-11 17:50:56 -05:00 committed by François
parent 679c7569e7
commit 53bf0ca31e
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View File

@ -33,9 +33,7 @@ bevy_render = { path = "../bevy_render", version = "0.15.0-rc.3" }
bevy_time = { path = "../bevy_time", version = "0.15.0-rc.3" }
bevy_transform = { path = "../bevy_transform", version = "0.15.0-rc.3" }
bevy_text = { path = "../bevy_text", version = "0.15.0-rc.3" }
bevy_ui = { path = "../bevy_ui", version = "0.15.0-rc.3", features = [
"bevy_text",
] }
bevy_ui = { path = "../bevy_ui", version = "0.15.0-rc.3" }
bevy_utils = { path = "../bevy_utils", version = "0.15.0-rc.3" }
bevy_window = { path = "../bevy_window", version = "0.15.0-rc.3" }
bevy_state = { path = "../bevy_state", version = "0.15.0-rc.3" }

View File

@ -173,7 +173,7 @@ android_shared_stdcxx = ["bevy_audio/android_shared_stdcxx"]
# screen readers and forks.)
accesskit_unix = ["bevy_winit/accesskit_unix"]
bevy_text = ["dep:bevy_text", "bevy_ui?/bevy_text"]
bevy_text = ["dep:bevy_text"]
bevy_render = [
"dep:bevy_render",

View File

@ -27,7 +27,7 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.15.0-rc.3", features = [
bevy_render = { path = "../bevy_render", version = "0.15.0-rc.3" }
bevy_animation = { path = "../bevy_animation", version = "0.15.0-rc.3" }
bevy_sprite = { path = "../bevy_sprite", version = "0.15.0-rc.3" }
bevy_text = { path = "../bevy_text", version = "0.15.0-rc.3", optional = true }
bevy_text = { path = "../bevy_text", version = "0.15.0-rc.3" }
bevy_picking = { path = "../bevy_picking", version = "0.15.0-rc.3", optional = true }
bevy_transform = { path = "../bevy_transform", version = "0.15.0-rc.3" }
bevy_window = { path = "../bevy_window", version = "0.15.0-rc.3" }