-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pub build should support output that can be consumed by the Editor #15018
Comments
Structured output (json?) would be best for editor with a section of content that should be displayed to the user in the editor console. Perhaps a --format=json option for this that editor could use to notify pub of the format it needs. |
Yup, that's what I was thinking too. |
Marked this as blocking #15829. |
Added Started label. |
Set owner to @munificent. |
Bob, Right now pub build always puts the generated files in "build" directory. So would this change the behavior and users can now specify out folder? |
This bug is a bit murky, but there's two things in here:
This bug really only asks for the first two. Specifying an output directory is useful too, but that would be a separate bug. |
Changed the title to: "Pub build should support output that can be consumed by the Editor". |
Added Started label. |
Added Fixed label. |
You can pass in "--format json" to pub build now, and it will output a single JSON object to stdout. |
Jumped the gun a bit. Out for code review: https://codereview.chromium.org/184113007 Added Started label. |
Added Fixed label. |
This issue has been moved to dart-lang/pub#714. |
This is mainly for the Editor's benefit but could be useful for users too. But it would be helpful if pub build displayed the name of the build directory it outputs to. That way the Editor can use that to know which directory in the user's workspace contains generated files which shouldn't be modified without having to hardcode the name of some output directory.
The text was updated successfully, but these errors were encountered: