Split crates
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 7m49s

This commit is contained in:
Florian RICHER 2025-05-18 13:15:29 +02:00
parent 99be029ff8
commit b977f446d3
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
16 changed files with 84 additions and 110 deletions

View file

@ -1,11 +1,6 @@
use bevy_app::App;
use crate::core::{
vulkan,
window::{self, config::WindowConfig},
};
pub mod test_plugin;
use engine_vulkan::VulkanPlugin;
use engine_window::{WindowPlugin, config::WindowConfig};
pub fn init(app: &mut App) {
let window_config = WindowConfig {
@ -14,11 +9,7 @@ pub fn init(app: &mut App) {
height: 600,
};
app.add_plugins((
test_plugin::TestPlugin,
window::WindowPlugin { window_config },
vulkan::VulkanPlugin,
));
app.add_plugins((WindowPlugin { window_config }, VulkanPlugin));
// Window::new(app, window_config).unwrap();
// Vulkan::new(app).unwrap();
}

View file

@ -1,13 +0,0 @@
use bevy_app::{App, Last, Plugin, Startup};
pub struct TestPlugin;
impl Plugin for TestPlugin {
fn build(&self, app: &mut App) {
app.add_systems(Last, setup_system);
}
}
fn setup_system() {
log::info!("Hello, world!");
}