Skip to content

'cargo install' with no args should build and install local project #3697

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

Closed
thibran opened this issue Feb 14, 2017 · 3 comments
Closed

'cargo install' with no args should build and install local project #3697

thibran opened this issue Feb 14, 2017 · 3 comments

Comments

@thibran
Copy link

thibran commented Feb 14, 2017

Usability wise I think it would be nice if running cargo install with no further arguments in a cargo project would do the same as running cargo install --path ..

@alexcrichton
Copy link
Member

I believe this is already the case, but what version of Cargo are you using? Maybe it needs an update?

@thibran
Copy link
Author

thibran commented Feb 14, 2017

cargo 0.16.0-nightly (6e0c18c 2017-01-27)

Hmmm, it works. Now I'm confused. I had the impression that I couldn't install my local project when using cargo install, than I tried with cargo install --path . and it worked. Sorry for taking some of your time.

@alexcrichton
Copy link
Member

Ah no worries!

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

2 participants