dont depend on tools from lsp-server

This commit is contained in:
Aleksey Kladov 2019-01-11 00:46:32 +03:00
parent a95536301c
commit 4196b65f21
4 changed files with 1 additions and 4 deletions

View file

@ -8,6 +8,7 @@ build: &rust_build
language: rust language: rust
rust: 1.31.1 rust: 1.31.1
script: script:
- rustup component add rustfmt
- cargo gen-tests --verify - cargo gen-tests --verify
- cargo gen-syntax --verify - cargo gen-syntax --verify
- cargo test --no-run # let's measure compile time separately - cargo test --no-run # let's measure compile time separately

1
Cargo.lock generated
View file

@ -749,7 +749,6 @@ dependencies = [
"text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "text_unit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"thread_worker 0.1.0", "thread_worker 0.1.0",
"threadpool 1.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "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)", "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)", "walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
] ]

View file

@ -37,4 +37,3 @@ ra_vfs = { path = "../ra_vfs" }
[dev-dependencies] [dev-dependencies]
tempfile = "3" tempfile = "3"
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
tools = { path = "../tools" }

View file

@ -125,8 +125,6 @@ fn test_eggs() {}
use std::collections::HashMap; use std::collections::HashMap;
#[test] #[test]
fn test_format_document() { fn test_format_document() {
tools::install_rustfmt().unwrap();
let server = project( let server = project(
r#" r#"
[package] [package]