mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
dont depend on tools from lsp-server
This commit is contained in:
parent
a95536301c
commit
4196b65f21
4 changed files with 1 additions and 4 deletions
|
@ -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
1
Cargo.lock
generated
|
@ -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)",
|
||||||
]
|
]
|
||||||
|
|
|
@ -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" }
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue