I created a script that downloads the git submodules as this:
The script "prepare_snap.sh" contains commands:
git submodule init
git submodule update
I can see in build logs that it does download the submodules just fine, but then it start building the application in forlder parts/application/src which was created before the download of submodules and so it doesn't work
How to do that properly?