Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper script overwrites function definitions inside source files #253

Open
sedurCode opened this issue Dec 25, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@sedurCode
Copy link
Contributor

If I use the helper script to copy the pod midi example into a new project all the function and object definitions that included midi in the symbol are overwritten with the name of the new project.
Example:

python helper.py copy myProjects/monosynth --source pod/Midi

Causes:

void HandlemonosynthMessage(monosynthEvent m)

in monosynth.cpp

Expected:

void HandleMidiMessage(MidiEvent m)

in monosynth.cpp

@stephenhensley stephenhensley added the bug Something isn't working label Jan 4, 2022
@stephenhensley
Copy link
Collaborator

Oh no!

Thanks for the bug report! We'll try to get this fixed up ASAP.

Can't recall why the script would be going into the cpp for the filename change anyway, should only have to change the file name for that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants