diff --git a/Cargo.toml b/Cargo.toml index 02ba2422..dfb734dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,7 +81,7 @@ publish = false # default resolver resolver = "2" members = [ - "examples", + "crates/beet_examples", # "crates/beet", "crates/beet_core", "crates/beet_ecs", @@ -103,7 +103,7 @@ beet_ecs_macros = { path = "crates/beet_ecs/macros", version = "0.0.1" } beet_ml = { path = "crates/beet_ml", version = "0.0.1" } beet_net = { path = "crates/beet_net", version = "0.0.1" } beet_server = { path = "crates/beet_server", version = "0.0.1" } -beet_examples = { path = "examples", version = "0.0.1" } +beet_examples = { path = "crates/beet_examples", version = "0.0.1" } ## local # forky_core = { path = "../forky/crates/forky/forky_core" } diff --git a/examples/Cargo.toml b/crates/beet_examples/Cargo.toml similarity index 100% rename from examples/Cargo.toml rename to crates/beet_examples/Cargo.toml diff --git a/examples/src/auto_spawn.rs b/crates/beet_examples/src/auto_spawn.rs similarity index 100% rename from examples/src/auto_spawn.rs rename to crates/beet_examples/src/auto_spawn.rs diff --git a/examples/src/beet_finished_loading.rs b/crates/beet_examples/src/beet_finished_loading.rs similarity index 100% rename from examples/src/beet_finished_loading.rs rename to crates/beet_examples/src/beet_finished_loading.rs diff --git a/examples/src/bundles.rs b/crates/beet_examples/src/bundles.rs similarity index 100% rename from examples/src/bundles.rs rename to crates/beet_examples/src/bundles.rs diff --git a/examples/src/camera_distance.rs b/crates/beet_examples/src/camera_distance.rs similarity index 100% rename from examples/src/camera_distance.rs rename to crates/beet_examples/src/camera_distance.rs diff --git a/examples/src/dialog_panel.rs b/crates/beet_examples/src/dialog_panel.rs similarity index 100% rename from examples/src/dialog_panel.rs rename to crates/beet_examples/src/dialog_panel.rs diff --git a/examples/src/example_plugin.rs b/crates/beet_examples/src/example_plugin.rs similarity index 100% rename from examples/src/example_plugin.rs rename to crates/beet_examples/src/example_plugin.rs diff --git a/examples/src/example_plugin_2d.rs b/crates/beet_examples/src/example_plugin_2d.rs similarity index 100% rename from examples/src/example_plugin_2d.rs rename to crates/beet_examples/src/example_plugin_2d.rs diff --git a/examples/src/example_plugin_3d.rs b/crates/beet_examples/src/example_plugin_3d.rs similarity index 100% rename from examples/src/example_plugin_3d.rs rename to crates/beet_examples/src/example_plugin_3d.rs diff --git a/examples/src/follow_cursor.rs b/crates/beet_examples/src/follow_cursor.rs similarity index 100% rename from examples/src/follow_cursor.rs rename to crates/beet_examples/src/follow_cursor.rs diff --git a/examples/src/lib.rs b/crates/beet_examples/src/lib.rs similarity index 100% rename from examples/src/lib.rs rename to crates/beet_examples/src/lib.rs diff --git a/examples/src/postmessage_input.rs b/crates/beet_examples/src/postmessage_input.rs similarity index 100% rename from examples/src/postmessage_input.rs rename to crates/beet_examples/src/postmessage_input.rs diff --git a/examples/src/randomize_position.rs b/crates/beet_examples/src/randomize_position.rs similarity index 100% rename from examples/src/randomize_position.rs rename to crates/beet_examples/src/randomize_position.rs diff --git a/examples/src/render_text.rs b/crates/beet_examples/src/render_text.rs similarity index 100% rename from examples/src/render_text.rs rename to crates/beet_examples/src/render_text.rs diff --git a/examples/src/wrap_around.rs b/crates/beet_examples/src/wrap_around.rs similarity index 100% rename from examples/src/wrap_around.rs rename to crates/beet_examples/src/wrap_around.rs diff --git a/justfile b/justfile index 6adf181b..db67ba5a 100644 --- a/justfile +++ b/justfile @@ -87,6 +87,8 @@ build-web-examples: just build-web-example seek just build-web-example seek_3d just build-web-example fetch + just build-web-example frozen_lake_train + just build-web-example frozen_lake_run serve-web-examples: cd {{wasm-dir}} && forky serve --any-origin --port=3002