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

Conversation

Projects
None yet
2 participants
@ALSchwalm
Contributor

ALSchwalm commented Jul 23, 2017

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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@xiaq

This comment has been minimized.

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