neptune icon indicating copy to clipboard operation
neptune copied to clipboard

build.sh and git submodules

Open danielk333 opened this issue 2 years ago • 0 comments

Hey, Nice to see neptune in the public now! Wanted to give it a go and encountered this:

When cloning the library by default git does not pull submodules but leaves an empty folder, this causes the build.sh to detect the folder, cd into it, do a git pull (now on the neptune library git remote since it does not detect this as a submodule) and the script fails.

It should probably be included in the readme that one needs to clone using git clone --recurse-submodules [email protected]:Space-Systems/neptune.git (using this, build.sh works flawlessly!) to get submodules or the bash-folder-exists test might be be exchanged with a git-remote check to see that its points to OPI.git? Or maybe a submodule pull git submodule update --init --recursive in the build.sh could be included?

danielk333 avatar Mar 11 '22 11:03 danielk333