tricktron / frege-gradle-plugin

Gradle plugin for compiling Frege projects
2 stars 1 forks source link

Frege Compiler Make Mode Test #33

Closed tricktron closed 2 years ago

tricktron commented 2 years ago

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 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.