Skip to content

Commit

Permalink
Add rustfmt as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Sep 13, 2017
1 parent a7b7dce commit c4508e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -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
7 changes: 7 additions & 0 deletions src/Cargo.toml
Expand Up @@ -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",
Expand Down Expand Up @@ -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 change: 1 addition & 0 deletions src/tools/rustfmt
Submodule rustfmt added at a1fd68

0 comments on commit c4508e1

Please sign in to comment.