Skip to content

Commit

Permalink
Support having multiple run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Aug 17, 2024
1 parent e080e9e commit 023d36f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generate_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 023d36f

Please sign in to comment.