Skip to content

Commit 78a974d

Browse files
authored
Merge pull request #2780 from DanielEScherzer/patch-1
rustdoc.md: consistently use `./x` rather than `./x.py`
2 parents 008abc0 + 567b295 commit 78a974d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/rustdoc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ Note that literally all that does is call the `main()` that's in this crate's `l
5757
* Use `./x test tests/rustdoc*` to run the tests using a stage1
5858
rustdoc.
5959
* See [Rustdoc internals] for more information about tests.
60-
* Use `./x.py test tidy --extra-checks=js` to run rustdoc’s JavaScript checks (`eslint`, `es-check`, and `tsc`).
61-
> **Note:** `./x.py test tidy` already runs these checks automatically when JS/TS sources changed; `--extra-checks=js` forces them explicitly.
60+
* Use `./x test tidy --extra-checks=js` to run rustdoc’s JavaScript checks (`eslint`, `es-check`, and `tsc`).
61+
> **Note:** `./x test tidy` already runs these checks automatically when JS/TS sources changed; `--extra-checks=js` forces them explicitly.
6262
6363
### JavaScript CI checks
6464

6565
Rustdoc’s JavaScript and TypeScript are checked during CI by `eslint`, `es-check`, and `tsc` (not by compiletest).
6666
These run as part of the `tidy` job.
6767

6868
```console
69-
./x.py test tidy --extra-checks=js
69+
./x test tidy --extra-checks=js
7070
```
7171

7272
The `--extra-checks=js` flag enables the frontend linting that runs in CI.

0 commit comments

Comments
 (0)