Skip to content

Update extra_script.py and library_builder.py to speed up the build#141

Merged
pablogs9 merged 2 commits intomicro-ROS:mainfrom
sotarokashiuchi:feature/Rebuild_Library
Jun 27, 2024
Merged

Update extra_script.py and library_builder.py to speed up the build#141
pablogs9 merged 2 commits intomicro-ROS:mainfrom
sotarokashiuchi:feature/Rebuild_Library

Conversation

@sotarokashiuchi
Copy link
Copy Markdown
Contributor

Until now, you had to follow these steps to rebuild a library:

  1. platformio run --target clean_microros : Delete all repositories of libraries.
  2. platformio run : Clone all repositories of libraries and Build

It's very slow because it clone all repositories every time. So I changed it to use not clone but pull.

  1. platformio run --target clean_libmicroros : Delete only libmicroros folder.
  2. platformio run : Pull all repositories of libraries and Build

@pablogs9 pablogs9 merged commit 25ab659 into micro-ROS:main Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants