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_LIBRARY
set to1
, should include all files specified inTEMPLATE_FILES
regardless of whether those files are from another templateActual Behavior:
a PROS project, with
IS_LIBRARY
set to1
, does not include files which are part of a template installed in the project, even if explicitly set inTEMPLATE_FILES
Steps to reproduce:
dependency
dependency.h
file in theinclude
directorydependency.h
toTEMPLATE_FILES
inIS_LIBRARY
to1
LIBNAME
todependency
dependency@1.0.0.zip
throughpros make; pros make template
pros c fetch dependency@1.0.0.zip
in the same directory asdependency@1.0.0.zip
template
IS_LIBRARY
to 1LIBNAME
to templatedependency
by runningpros c apply dependency
dependency.a
in the firmware directory (see Issue 🐛Header-Only Templates Include Empty Binary #373 )template.h
to theinclude
directorytemplate.h
anddependency.h
toTEMPLATE_FILES
template@1.0.0.zip
throughpros make; pros make template
pros c fetch dependency@1.0.0.zip
in the same directory asdependency@1.0.0.zip
include
directorySystem 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
The text was updated successfully, but these errors were encountered: