Skip to content

Commit 819a40d

Browse files
authored
Merge pull request #1138 from ahoppen/ahoppen/usr-in-toolchain
Mention that the `--toolchain` parameter of `build-script.py` needs to point to the usr subdirectory of the toolchain
2 parents 470a819 + 8ce97de commit 819a40d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftSyntax/Documentation.docc/ChangingSwiftSyntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ and building all of the files in this repository.
5050
To invoke `build-script.py` to regenerate source code, run
5151

5252
```
53-
$ ./build-script.py generate-source-code --toolchain /Path/To/Toolchain
53+
$ ./build-script.py generate-source-code --toolchain /path/to/toolchain/usr
5454
```
5555

56-
where `/Path/To/Toolchain` can point either to the `XcodeDefault.xctoolchain`
56+
where `/path/to/toolchain` can point either to the `XcodeDefault.xctoolchain`
5757
installed with Xcode, or to a [toolchain downloaded from swift.org][SwiftToolchains].
5858

5959
- Note: To see the raw commands that `build-script.py` is running, use the `-v`
@@ -67,7 +67,7 @@ the version control system.
6767
To invoke `build-script.py` in verification mode, run
6868

6969
```
70-
$ ./build-script.py verify-source-code --toolchain /Path/To/Toolchain
70+
$ ./build-script.py verify-source-code --toolchain /path/to/toolchain/usr
7171
```
7272

7373
## Adding and Removing Syntax Nodes

0 commit comments

Comments
 (0)