When adding a library, the library's template.pros is copied to the project's root
Closed this issue · 2 comments
Expected Behavior:
pros conduct add-lib <location> <library>
should copy the libraries .a file to the /firmware, any header files to /include, add itself to the project's project.pros, and to nothing else (amusing location is the root of a pros project).
Actual Behavior:
it behave as expected except it also copies the library's template.pros to the project root if there's not already a template.pros
Steps to reproduce:
make sure there isn't a template.pros in the project in which you want to install the library
pros conduct add-lib <location> <library>
System information:
Operating System: Ubuntu
PROS Version: 2.6.0
Additional Information
Screenshots/Output Dumps/Stack Traces
Applied a hotfix to the libblrs release which changes the template_ignore
key to template.pros
from project.pros
The @HotelCalifornia is the correct behavior, not a hotfix. We may look into making template.pros implicitly ignored which should be straightforward to do, but the current behavior works.