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

--bin argument acts as path to binary, instead of the binary name #150

Closed
gbaranski opened this issue Aug 24, 2022 · 6 comments
Closed

--bin argument acts as path to binary, instead of the binary name #150

gbaranski opened this issue Aug 24, 2022 · 6 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@gbaranski
Copy link

Hi, for example in structure like this

- Cargo.toml
- Cargo.lock
- Dockerfile
- things/
 - a/
  - Cargo.toml(package things-a)
  - ...
 - b/
  - Cargo.toml(package things-b)
  - ...
- stuff/
 - Cargo.toml(package stuff)
 - ...
cargo chef cook --release --recipe-path recipe.json --bin things-a

Will result in error, because folder things-a doesn't exist, while binary package named things-a exists.

@LukeMathWalker LukeMathWalker added bug Something isn't working good first issue Good for newcomers labels Aug 24, 2022
@yagehu
Copy link

yagehu commented Oct 31, 2022

I would like to take a stab at this. The original implementation is #126 is that right?

@LukeMathWalker
Copy link
Owner

Yeah, that's correct.

@wackazong
Copy link

Any update on this? I am facing the same issue.

@LukeMathWalker
Copy link
Owner

No PR has been submitted, so no update.

@LukeMathWalker
Copy link
Owner

This should be fixed in 0.1.61 by #214. Can you confirm?

@wackazong
Copy link

Works for me now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants