From 7750550d35ad30a90d8d6ae3c4c9759458cb0f02 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 22 Jun 2024 08:38:26 +0200 Subject: [PATCH] add some commands --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 183974e..119047c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,9 @@ bevy = { version = "0.13.0", default-features = false, features = [ "x11", "default_font", ] } + +[package.metadata.commands] +example_interpolation = "cargo run --example interpolated -- server & cargo run --example interpolated -- client && fg" +example_interpolation_add_client = "cargo run --example interpolated -- client && fg" +example_prediction = "cargo run --example owner_predicted -- server & cargo run --example owner_predicted -- client && fg" +example_prediction_add_client = "cargo run --example owner_predicted -- client && fg"