Skip to content

Expose program diagnostics in cli main callback #1625

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

Merged
merged 3 commits into from
Jan 28, 2021
Merged

Expose program diagnostics in cli main callback #1625

merged 3 commits into from
Jan 28, 2021

Conversation

piotr-oles
Copy link

@piotr-oles piotr-oles commented Jan 18, 2021

This PR adds reportDiagnostic callback to the asc.main() API options. This will help integrate AssemblyScript with other tools, like webpack. I could use the assemblyscript package directly, but there is a lot of logic inside asc.main() that I wouldn't like to duplicate and then synchronize :)

  • I've read the contributing guidelines

@piotr-oles piotr-oles changed the base branch from master to stw January 20, 2021 22:17
@piotr-oles piotr-oles changed the title feat: expose program diagnostics in cli main callback Expose program diagnostics in cli main callback Jan 20, 2021
@piotr-oles piotr-oles requested a review from dcodeIO January 20, 2021 22:19
Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

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

Cool, this is coming along nicely :) Just a few comments.

@piotr-oles piotr-oles requested a review from dcodeIO January 22, 2021 17:05
@dcodeIO dcodeIO merged commit 6b8e6e5 into AssemblyScript:stw Jan 28, 2021
@dcodeIO
Copy link
Member

dcodeIO commented Jan 28, 2021

Thanks! :)

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.

2 participants