The following applies if the frege compiler is run with the -makeflag:
Given two dependent frege files. If the mainSourceDir property is not
correctly configured, then the frege compiler cannot find the dependent
frege file and will therefore fail the compilation.
The frege compiler starts at the mainSourceDir and searches
recursively for dependent modules. E.g. If mod.Main.fr imports other.Dep.fr
then the frege compilers searches for mainSourceDir/other/Dep.fr.
Validates #https://github.com/tricktron/frege-lsp-server/issues/17.
The following applies if the frege compiler is run with the
-make
flag: Given two dependent frege files. If themainSourceDir
property is not correctly configured, then the frege compiler cannot find the dependent frege file and will therefore fail the compilation.The frege compiler starts at the
mainSourceDir
and searches recursively for dependent modules. E.g. Ifmod.Main.fr
importsother.Dep.fr
then the frege compilers searches formainSourceDir/other/Dep.fr
.