After a terminated scons build for export templates, should I discard all changes and reinstall the source code? What do you suggest, do the leftover files affect the next building attempt in any way?
According to the doc you don't need to do anything: https://docs.godotengine.org/en/3.1/development/compiling/introduction_to_the_buildsystem.html
if you want to be sure you could ask SCons to cleanup the files with scons --clean p=yourplatform. Or, if you cloned with Git, you could clean the repo with git clean https://git-scm.com/docs/git-clean
scons --clean p=yourplatform
Alright, thanks for the info