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

tonic-build can fail to work if there are artefacts from other build processes #283

Closed
xd009642 opened this issue Mar 5, 2020 · 0 comments · Fixed by #284
Closed

tonic-build can fail to work if there are artefacts from other build processes #283

xd009642 opened this issue Mar 5, 2020 · 0 comments · Fixed by #284

Comments

@xd009642
Copy link
Contributor

xd009642 commented Mar 5, 2020

I have a build script that generates a folder with some resources in the outdir and tonic build tries to run rustfmt on the folder and fails. I've gotten around it by deleting the folder and regenerating the assets after tonic-build is done for every build but I don't think tonic-build should touch anything not generated by it/prost

https://github.com/hyperium/tonic/blob/master/tonic-build/src/lib.rs#L81

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 a pull request may close this issue.

1 participant