ponylang / pony-stable

:horse: A simple dependency manager for the Pony language.
BSD 2-Clause "Simplified" License
134 stars 18 forks source link

git submodules are not initialized on fetch #101

Closed adri326 closed 5 years ago

adri326 commented 5 years ago

This is a rather simple bug: when a repository is added through stable, its git submodules do not get initialized.

This, of course, causes issues with building the code afterwards, as some of the libraries/code will be missing.

Example: (using any repository with submodules work)

stable add github adri326/pony-sdl-mixer
# should be populated off https://github.com/LambdAurora/lcmm
ls .deps/adri326/pony-sdl-mixer/cmake/

The current workaround is to simply cd to the different libraries's folders and to run git submodules update --init --recursive in them