aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-23 16:17:24 +0100
committerAleksey Kladov <[email protected]>2019-10-23 16:57:18 +0100
commita669049ef327db5be04f076eff83932ac1f95d91 (patch)
treeecc21b23217780ef7ca9279694170f4359b50150 /docs
parentb5f13d8d51ef9107363a60b894a741ab596921ce (diff)
xtask: fold gen-tests and gen-ast into codegen
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/architecture.md2
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
78Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` 78Tests 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
81tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect 81tests). Additionally, running `cargo xtask codegen` will walk the grammar module and collect
82all `// test test_name` comments into files inside `test_data/parser/inline` directory. 82all `// test test_name` comments into files inside `test_data/parser/inline` directory.
83 83
84See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which 84See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which