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 a 'compileonly' option #458

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Add a 'compileonly' option #458

merged 1 commit into from
Jul 25, 2017

Conversation

ALSchwalm
Copy link
Contributor

This PR just adds a -compileonly flag that will print any parsing/compilation errors but not execute anything. This is useful for writing tooling for elvish (for example, an emacs flycheck mode). I'm not using the pretty printing facilities to make parsing the errors easier.

@xiaq xiaq merged commit c30495c into elves:master Jul 25, 2017
@xiaq
Copy link
Member

xiaq commented Jul 25, 2017

Looks good, but in future the error format should be customizable. For instance, the user should be able to request a JSON formatting of the error object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants