From 08681dc0b60515d8a91234553a0c9f8e40ab953b Mon Sep 17 00:00:00 2001 From: Seven Of Aces Date: Thu, 12 Dec 2024 22:01:55 -0800 Subject: [PATCH] mrrrrp nya? --- {.forgejo => .github}/workflows/cargo_test.yml | 0 {.forgejo => .github}/workflows/release_nightly.yml | 0 {.forgejo => .github}/workflows/release_stable.yml | 0 .../workflows/release_unstable.yml | 0 Cargo.toml | 2 +- src/data/mod.rs | 1 + src/data/world.rs | 0 src/lib.rs | 2 ++ src/main.rs | 5 ++++- src/runtime/mod.rs | 13 +++++++++++++ 10 files changed, 21 insertions(+), 2 deletions(-) rename {.forgejo => .github}/workflows/cargo_test.yml (100%) rename {.forgejo => .github}/workflows/release_nightly.yml (100%) rename {.forgejo => .github}/workflows/release_stable.yml (100%) rename {.forgejo => .github}/workflows/release_unstable.yml (100%) create mode 100644 src/data/mod.rs create mode 100644 src/data/world.rs create mode 100644 src/runtime/mod.rs diff --git a/.forgejo/workflows/cargo_test.yml b/.github/workflows/cargo_test.yml similarity index 100% rename from .forgejo/workflows/cargo_test.yml rename to .github/workflows/cargo_test.yml diff --git a/.forgejo/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml similarity index 100% rename from .forgejo/workflows/release_nightly.yml rename to .github/workflows/release_nightly.yml diff --git a/.forgejo/workflows/release_stable.yml b/.github/workflows/release_stable.yml similarity index 100% rename from .forgejo/workflows/release_stable.yml rename to .github/workflows/release_stable.yml diff --git a/.forgejo/workflows/release_unstable.yml b/.github/workflows/release_unstable.yml similarity index 100% rename from .forgejo/workflows/release_unstable.yml rename to .github/workflows/release_unstable.yml diff --git a/Cargo.toml b/Cargo.toml index b43c7b8..583cc3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,4 @@ edition = "2021" publish = false [dependencies] -bevy = { version = "0.14", features = [] } \ No newline at end of file +bevy = { version = "0.14", features = ["dynamic_linking"] } \ No newline at end of file diff --git a/src/data/mod.rs b/src/data/mod.rs new file mode 100644 index 0000000..4627b64 --- /dev/null +++ b/src/data/mod.rs @@ -0,0 +1 @@ +pub mod world; \ No newline at end of file diff --git a/src/data/world.rs b/src/data/world.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/lib.rs b/src/lib.rs index 8b13789..32cf202 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1 +1,3 @@ +pub mod data; +pub mod runtime; \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index e7a11a9..ca7ac55 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,6 @@ +use bevy::prelude::*; +use project_starlight::runtime; + fn main() { - println!("Hello, world!"); + runtime::Runtime::new().run(); } diff --git a/src/runtime/mod.rs b/src/runtime/mod.rs new file mode 100644 index 0000000..d87db80 --- /dev/null +++ b/src/runtime/mod.rs @@ -0,0 +1,13 @@ +struct Runtime { + +} + +impl Runtime { + pub fn new() -> Runtime { + Runtime {} + } + + pub fn run(&self) { + println!("Running runtime"); + } +} \ No newline at end of file