diff options
author | Aleksey Kladov <[email protected]> | 2019-10-23 16:17:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-23 16:57:18 +0100 |
commit | a669049ef327db5be04f076eff83932ac1f95d91 (patch) | |
tree | ecc21b23217780ef7ca9279694170f4359b50150 /docs | |
parent | b5f13d8d51ef9107363a60b894a741ab596921ce (diff) |
xtask: fold gen-tests and gen-ast into codegen
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/architecture.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
78 | Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` | 78 | Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` |
79 | (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check | 79 | (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check |
80 | `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update | 80 | `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update |
81 | tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect | 81 | tests). Additionally, running `cargo xtask codegen` will walk the grammar module and collect |
82 | all `// test test_name` comments into files inside `test_data/parser/inline` directory. | 82 | all `// test test_name` comments into files inside `test_data/parser/inline` directory. |
83 | 83 | ||
84 | See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which | 84 | See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which |