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
Simplify building subsets of a workspace #2211
Comments
Yea fair point. The error message is basically saying "you are using |
@jeffsawatzky can you give this a try?
The code is https://github.com/bufbuild/buf/compare/multiple-inputs?expand=1 - as you can see there, there's a lot of TODOS. I can't promise we could resolve all of those quickly and in a timely manner, and if we did this, we'd also want to make it consistent across the whole codebase. This is a way of saying "no promises we can do this in the short term". But I want to see if this is generally what you're looking for (and bonus points if you can check out what happens with the |
@bufdev I tried doing as you requested, but I am running into an error.
|
You're likely using an old version of Go. Use |
@bufdev, yeah that was it. I was able to test this, and the change seems to do what I would like. |
I have a repo layout similar to the following:
When it comes time to build binary descriptor sets to use in envoy it would be nice to be able to do something like:
So that we can create individual files for
service_a
andservice_b
that only includes the service specific and common definitions.However, that errors with:
So I need to end up running it with:
Note the repetition in the
--path
values.Another option would be to allow buf to accept multiple input directories like:
The text was updated successfully, but these errors were encountered: