]> git.lizzy.rs Git - rust.git/commitdiff
dont depend on tools from lsp-server
authorAleksey Kladov <aleksey.kladov@gmail.com>
Thu, 10 Jan 2019 21:46:32 +0000 (00:46 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Thu, 10 Jan 2019 21:46:32 +0000 (00:46 +0300)
.travis.yml
Cargo.lock
crates/ra_lsp_server/Cargo.toml
crates/ra_lsp_server/tests/heavy_tests/main.rs

index 86bce93d624ec0354676e4bf482b43712204e896..789adcbe38d9ce95489ad133d626494c7494c5fb 100644 (file)
@@ -8,6 +8,7 @@ build: &rust_build
     language: rust
     rust: 1.31.1
     script:
+        - rustup component add rustfmt
         - cargo gen-tests --verify
         - cargo gen-syntax --verify
         - cargo test --no-run  # let's measure compile time separately
index 45f1feb7e5d6869115d6212b36bba0e0942d4d03..877ef94107c277d17297d46693fd8ab59cce356e 100644 (file)
@@ -749,7 +749,6 @@ dependencies = [
  "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
  "thread_worker 0.1.0",
  "threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "tools 0.1.0",
  "url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
index b4a7b3388c6b9235b0ea60a538e9ac031ee0b72b..a0819978bc0b30166cf1cc59abd815ed34da3fac 100644 (file)
@@ -37,4 +37,3 @@ ra_vfs = { path = "../ra_vfs" }
 [dev-dependencies]
 tempfile = "3"
 test_utils = { path = "../test_utils" }
-tools = { path = "../tools" }
index 4cae44eab27427a9ae2f856c4df19dadc4cdcf1c..9eaf46ac875c9c48427e7d84ca3a1217388f0e66 100644 (file)
@@ -125,8 +125,6 @@ fn test_eggs() {}
 use std::collections::HashMap;
 #[test]
 fn test_format_document() {
-    tools::install_rustfmt().unwrap();
-
     let server = project(
         r#"
 [package]