From 023d36fd1a9b10e6afc46f71c0555b83ef774e97 Mon Sep 17 00:00:00 2001 From: WillB97 Date: Sat, 17 Aug 2024 11:31:57 +0100 Subject: [PATCH] Support having multiple run scripts --- scripts/generate_release.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/generate_release.py b/scripts/generate_release.py index d7458da..2abe1ca 100755 --- a/scripts/generate_release.py +++ b/scripts/generate_release.py @@ -77,7 +77,8 @@ logger.info("Copying helper scripts to temp directory") shutil.copy(project_root / "scripts/setup.py", temp_dir / "setup.py") - shutil.copy(project_root / "scripts/run_simulator.py", temp_dir / "run_simulator.py") + for script in project_root.glob("scripts/run_*.py"): + shutil.copy(script, temp_dir) logger.info("Copying example code to temp directory") shutil.copytree(project_root / "example_robots", temp_dir / "example_robots")