You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a PROS project, with IS_LIBRARY set to 1, should include all files specified in TEMPLATE_FILES regardless of whether those files are from another template
Actual Behavior:
a PROS project, with IS_LIBRARY set to 1, does not include files which are part of a template installed in the project, even if explicitly set in TEMPLATE_FILES
Steps to reproduce:
Create an empty PROS project named dependency
Add dependency.h file in the include directory
Add dependency.h to TEMPLATE_FILES in
Set IS_LIBRARY to 1
Set LIBNAME to dependency
Create dependency@1.0.0.zip through pros make; pros make template
Run pros c fetch dependency@1.0.0.zip in the same directory as dependency@1.0.0.zip
Create an empty PROS project named template
Set IS_LIBRARY to 1
Set LIBNAME to template
Install dependency by running pros c apply dependency
Expected Behavior:
a PROS project, with
IS_LIBRARYset to1, should include all files specified inTEMPLATE_FILESregardless of whether those files are from another templateActual Behavior:
a PROS project, with
IS_LIBRARYset to1, does not include files which are part of a template installed in the project, even if explicitly set inTEMPLATE_FILESSteps to reproduce:
dependencydependency.hfile in theincludedirectorydependency.htoTEMPLATE_FILESinIS_LIBRARYto1LIBNAMEtodependencydependency@1.0.0.zipthroughpros make; pros make templatepros c fetch dependency@1.0.0.zipin the same directory asdependency@1.0.0.ziptemplateIS_LIBRARYto 1LIBNAMEto templatedependencyby runningpros c apply dependencydependency.ain the firmware directory (see Issue 🐛Header-Only Templates Include Empty Binary #373 )template.hto theincludedirectorytemplate.handdependency.htoTEMPLATE_FILEStemplate@1.0.0.zipthroughpros make; pros make templatepros c fetch dependency@1.0.0.zipin the same directory asdependency@1.0.0.zipincludedirectorySystem information:
Windows 11: Bug Reproduced
Linux (Ubuntu): Can't reproduce
macOS: Not Tested
PROS Version: 3.5.4
Additional Information
pros-cli/pros/cli/conductor_utils.py
Line 106 in d9cbbda