Enhance compile
subcommand functionality for projects
#2067
Labels
Milestone
compile
subcommand functionality for projects
#2067
Let us enhance the compile subcommand to work seamlessly with the main field in
juvix.yaml
as requested here,main
field fromjuvix.yaml
to specify the entry point of the program #2065but exhibiting a behavior similar to that described for the
typecheck
subcommand.typecheck
subcommand functionality for projects #2066Expected behavior:
main
field injuvix.yaml
(fail if there is nomain
field injuvix.yaml
with a useful error message like"No entry file specified in
juvix.yaml
" and ifjuvix.yaml
does not exist, saying "Nojuvix.yaml
found in current directory, maybe you want to runjuvix init
?")Note that one might tend to use
.
as the path to compile the current directory.as this is already implemented.)
The text was updated successfully, but these errors were encountered: