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

Support multiple --bin values in cargo chef prepare #284

Open
SupernaviX opened this issue Nov 15, 2024 · 0 comments
Open

Support multiple --bin values in cargo chef prepare #284

SupernaviX opened this issue Nov 15, 2024 · 0 comments

Comments

@SupernaviX
Copy link

Hello!

I'm working on a workspace project where

  1. some projects are apps which are meant to be bundled in docker images
  2. some projects are libraries which are used by those apps
  3. some projects are separate (e.g. a demo application) and shouldn't be involved in the docker build at all.

I'd really like to be able to build a recipe file which included all projects of types 1 and 2, but excluded 3.
It looks like the prepare command accepts a --bin argument which would help with this, but you can only use that for a single project. I think it would serve my needs if you could pass more than one --bin, like you can with the build command.

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

No branches or pull requests

1 participant