Open alex-tee opened 3 years ago
The cause of the problem is that OS-251 has two git submodules. One is JUCE (lib/JUCE
) and the other is react-juce (lib/react-juce
) which also has JUCE as its submodule.
I guess I can resolve it by following https://stackoverflow.com/questions/4115817/duplicate-submodules-with-git .
But currently I don''t want to use the solution because:
What do you think?
I see currently both JUCE versions are the same commit (7c797c8105c2d41872e6e8d08972624f0afd335d
) so that's fine for now, but if you decide to switch the main JUCE module (for example to https://github.com/lv2-porting-project/JUCE) I think it's best to make sure that react-juce also uses the same JUCE module to avoid trouble in the future. I'm not exactly sure how react-juce works but maybe the 2 JUCE versions will be incompatible or have runtime differences that will cause bugs.
You could use something like a "dist" script to prepare release tarballs (just copy/symlink your main JUCE directory to where react-juce expects JUCE to be when preparing a release tarball).
2 JUCE versions will be incompatible or have runtime differences that will cause bugs.
Agree. I have to choose between 1. Same JUCE but lib/react-juce/ext/JUCE is updated by me to fix bug #15 2. Use 2 JUCE version. But currently I'm not sure which is better.
You could use something like a "dist" script to prepare release tarballs (just copy/symlink your main JUCE directory to where react-juce expects JUCE to be when preparing a release tarball).
Thanks. So using symlink looks like the ideal option.