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

Convenience syntax to install the current crate #2317

Merged
merged 5 commits into from Jan 25, 2016

Conversation

Projects
None yet
6 participants
@alexcrichton
Copy link
Member

alexcrichton commented Jan 25, 2016

Rolling together #2205 and #2240

thirtythreeforty and others added some commits Dec 11, 2015

Add convenience syntax to install current crate
Essentially, `cargo install` becomes a synonym for
`cargo install --path .`.  This makes it easy and intuitive to install
the crate in the current directory, as in the following:

    $ cargo build --release
    $ cargo install

Note that this only works from the crate root.

Closes #2142.
@rust-highfive

This comment has been minimized.

Copy link

rust-highfive commented Jan 25, 2016

r? @wycats

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Jan 25, 2016

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 25, 2016

⌛️ Testing commit 4ea41d0 with merge d62adfd...

bors added a commit that referenced this pull request Jan 25, 2016

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 25, 2016

💔 Test failed - cargo-win-msvc-64

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Jan 25, 2016

@bors: retry

On Mon, Jan 25, 2016 at 10:53 AM, bors notifications@github.com wrote:

[image: 💔] Test failed - cargo-win-msvc-64
http://buildbot.rust-lang.org/builders/cargo-win-msvc-64/builds/268


Reply to this email directly or view it on GitHub
#2317 (comment).

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Jan 25, 2016

⌛️ Testing commit 4ea41d0 with merge f8084b0...

bors added a commit that referenced this pull request Jan 25, 2016

@bors

This comment has been minimized.

@bors bors merged commit 4ea41d0 into rust-lang:master Jan 25, 2016

1 of 3 checks passed

continuous-integration/appveyor/pr AppVeyor build cancelled
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
homu Test successful
Details

@alexcrichton alexcrichton deleted the alexcrichton:install-current-crate branch Jan 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.