From a669049ef327db5be04f076eff83932ac1f95d91 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 23 Oct 2019 18:17:24 +0300 Subject: xtask: fold gen-tests and gen-ast into codegen --- docs/dev/architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dev') diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 5ec5352e7..6fd396dee 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md @@ -78,7 +78,7 @@ Rust syntax tree structure and parser. See Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update -tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect +tests). Additionally, running `cargo xtask codegen` will walk the grammar module and collect all `// test test_name` comments into files inside `test_data/parser/inline` directory. See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which -- cgit v1.2.3