Skip to content

Commit addb0e0

Browse files
[gardening] add missing "clone TSC" step to bootstrap instructions
Also sorted, reformatted and updated versions of existing `git clone` steps. a
1 parent 4fd4df4 commit addb0e0

File tree

1 file changed

+43
-34
lines changed

1 file changed

+43
-34
lines changed

CONTRIBUTING.md

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -129,40 +129,49 @@ It is used on bare systems to bootstrap the Swift toolchain (including SwiftPM),
129129
The bootstrap script requires having [CMake](https://cmake.org/) and [Ninja](https://ninja-build.org/) installed.
130130
Please refer to the [_Get Started_ guide](https://github.com/apple/swift/blob/main/docs/HowToGuides/GettingStarted.md#installing-dependencies) on the Swift project repository for installation instructions.
131131

132-
1. Clone [llbuild](https://github.com/apple/swift-llbuild) beside the SwiftPM directory.
133-
134-
```bash
135-
$> git clone https://github.com/apple/swift-llbuild llbuild
136-
```
137-
138-
Note: Make sure the directory for llbuild is called "llbuild" and not
139-
"swift-llbuild".
140-
141-
2. Clone [Yams](https://github.com/jpsim/yams) beside the SwiftPM directory.
142-
143-
```bash
144-
$> git clone https://github.com/jpsim/yams
145-
```
146-
147-
3. Clone [swift-driver](https://github.com/apple/swift-driver) beside the SwiftPM directory.
148-
149-
```bash
150-
$> git clone https://github.com/apple/swift-driver
151-
```
152-
153-
4. Clone [swift-argument-parser](https://github.com/apple/swift-argument-parser) beside the SwiftPM directory and check out tag with the [latest version](https://github.com/apple/swift-argument-parser/tags).
154-
155-
For example, if the latest tag is 0.3.1:
156-
```bash
157-
$> git clone https://github.com/apple/swift-argument-parser --branch 0.3.1
158-
```
159-
160-
5. Clone [swift-crypto](https://github.com/apple/swift-crypto) beside the SwiftPM directory and check out tag with the [latest version](https://github.com/apple/swift-crypto/tags).
161-
162-
For example, if the latest tag is 1.1.3:
163-
```bash
164-
$> git clone https://github.com/apple/swift-crypto --branch 1.1.3
165-
```
132+
Clone the following repositories beside the SwiftPM directory:
133+
134+
1. [swift-driver]
135+
```sh
136+
$> git clone https://github.com/apple/swift-driver
137+
```
138+
139+
2. [swift-tools-support-core]
140+
```sh
141+
$> git clone https://github.com/apple/swift-tools-support-core
142+
```
143+
144+
3. [Yams]
145+
```sh
146+
$> git clone https://github.com/jpsim/yams
147+
```
148+
149+
4. [swift-llbuild] as llbuild
150+
```sh
151+
$> git clone https://github.com/apple/swift-llbuild llbuild
152+
```
153+
> Note: Make sure the directory for llbuild is called "llbuild" and not "swift-llbuild".
154+
155+
5. [swift-argument-parser] and check out tag with the [latest version](https://github.com/apple/swift-argument-parser/tags).
156+
157+
For example, if the latest tag is 0.4.3:
158+
```sh
159+
$> git clone https://github.com/apple/swift-argument-parser --branch 0.4.3
160+
```
161+
162+
6. [swift-crypto] and check out tag with the [latest version](https://github.com/apple/swift-crypto/tags).
163+
164+
For example, if the latest tag is 1.1.6:
165+
```sh
166+
$> git clone https://github.com/apple/swift-crypto --branch 1.1.6
167+
```
168+
169+
[swift-argument-parser]: https://github.com/apple/swift-argument-parser
170+
[swift-crypto]: https://github.com/apple/swift-crypto
171+
[swift-driver]: https://github.com/apple/swift-driver
172+
[swift-llbuild]: https://github.com/apple/swift-llbuild
173+
[swift-tools-support-core]: https://github.com/apple/swift-tools-support-core
174+
[Yams]: https://github.com/jpsim/yams
166175

167176
#### Building
168177

0 commit comments

Comments
 (0)