Skip to content

Commit 26ffb45

Browse files
authored
Merge pull request #458 from kimdv/kimdv/clean-main
Clean build-script by adding subcommands
2 parents b4d32c3 + 7c40124 commit 26ffb45

File tree

2 files changed

+183
-173
lines changed

2 files changed

+183
-173
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To build the `main` branch of SwiftSyntax, follow the following instructions:
2121
```
2222
2323
4. To make sure everything is set up correctly, check the return statement of `xcrun --find swift`. It should point inside the latest installed trunk development toolchain. If it points inside an Xcode toolchain, check that you exported the `TOOLCHAINS` environment variable correctly. If it points inside a version-specific toolchain (like Swift 5.0-dev), you'll need to remove that toolchain.
24-
5. Run `swift-syntax/build-script.py --toolchain /path/to/recent/swift/development/snapshot.xctoolchain/usr`.
24+
5. Run `swift-syntax/build-script.py build --toolchain /path/to/recent/swift/development/snapshot.xctoolchain/usr`.
2525
If despite following those instructions, you get compiler errors, the Swift toolchain might be too old to contain recent changes in Swift's SwiftSyntaxParser C library. In that case, you'll have to build the compiler and SwiftSyntax together with the following command:
2626
2727
```bash

0 commit comments

Comments
 (0)