Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add main field to juvix.yaml #2120

Merged
merged 11 commits into from May 24, 2023
Merged

Add main field to juvix.yaml #2120

merged 11 commits into from May 24, 2023

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented May 23, 2023

This pr adds the field main to juvix.yaml. This field is optional and should contain a path to a juvix file that is meant to be used for the compile (and dev compile) command when no file is given as an argument in the CLI. This makes it possible to simply run juvix compile if the main is specified in the jvuix.yaml.

I have updated the juvix.yaml of the milestone examples.

@janmasrovira janmasrovira added this to the 0.3.5 milestone May 23, 2023
@janmasrovira janmasrovira self-assigned this May 23, 2023
@janmasrovira janmasrovira marked this pull request as ready for review May 23, 2023 17:17
Co-authored-by: Paul Cadman <git@paulcadman.dev>
@janmasrovira janmasrovira added the enhancement New feature or request label May 24, 2023
Copy link
Collaborator

@jonaprieto jonaprieto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jonaprieto jonaprieto merged commit 4fcb881 into main May 24, 2023
4 checks passed
@jonaprieto jonaprieto deleted the juvix-yaml-main branch May 24, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use main field from juvix.yaml to specify the entry point of the program
3 participants