Add rustfmt as a submodule

This commit is contained in:
Nick Cameron 2017-09-01 17:13:15 +12:00
parent a7b7dce02d
commit c4508e1226
3 changed files with 11 additions and 0 deletions

3
.gitmodules vendored
View File

@ -36,3 +36,6 @@
[submodule "src/tools/clippy"]
path = src/tools/clippy
url = https://github.com/rust-lang-nursery/rust-clippy.git
[submodule "src/tools/rustfmt"]
path = src/tools/rustfmt
url = git@github.com:rust-lang-nursery/rustfmt.git

View File

@ -18,6 +18,7 @@ members = [
"tools/cargo",
"tools/rustdoc",
"tools/rls",
"tools/rustfmt",
# FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
"tools/rls/test_data/borrow_error",
"tools/rls/test_data/completion",
@ -58,3 +59,9 @@ debug-assertions = false
[patch.'https://github.com/rust-lang/cargo']
cargo = { path = "tools/cargo" }
[patch.'https://github.com/rust-lang-nursery/rustfmt']
rustfmt-nightly = { path = "tools/rustfmt" }
[patch.crates-io]
rustfmt-nightly = { path = "tools/rustfmt" }

1
src/tools/rustfmt Submodule

@ -0,0 +1 @@
Subproject commit a1fd68da464fc51585f351c81fc2b867211c197e