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

cargo new/init: Conditionalize adding Cargo.lock to gitignore #2390

Merged

Conversation

vi
Copy link
Contributor

@vi vi commented Feb 17, 2016

For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.

For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.
@rust-highfive
Copy link

r? @alexcrichton

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

@vi vi mentioned this pull request Feb 17, 2016
@vi
Copy link
Contributor Author

vi commented Feb 17, 2016

r? @WiSaGaN

@WiSaGaN
Copy link
Contributor

WiSaGaN commented Feb 17, 2016

@vi looks good to me. But may need a Rust team member to merge?

@alexcrichton
Copy link
Member

Thanks @vi! Can you add a test for this as well?

@vi
Copy link
Contributor Author

vi commented Feb 17, 2016

Added 4 tests for cargo init (but not for cargo new).

@alexcrichton
Copy link
Member

@bors: r+ e7fb7ff

Thanks!

@bors
Copy link
Contributor

bors commented Feb 17, 2016

⌛ Testing commit e7fb7ff with merge b8d274f...

bors added a commit that referenced this pull request Feb 17, 2016
…e, r=alexcrichton

For cargo new, it depends on --bin option

For cargo init, it depends on detected files
(--bin option may be used or may be ignored)

No tests conver this code so far.
@bors
Copy link
Contributor

bors commented Feb 17, 2016

@bors bors merged commit e7fb7ff into rust-lang:master Feb 17, 2016
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

Successfully merging this pull request may close these issues.

5 participants