Skip to content

Commit cfc1047

Browse files
[doc] add cloning swift-collection to bootstrap documentation
Also updated version numbers used for swift-argument-parser and swift-crypto in the documentation.
1 parent 93c63f5 commit cfc1047

File tree

1 file changed

+33
-27
lines changed

1 file changed

+33
-27
lines changed

Documentation/Contributing.md

+33-27
Original file line numberDiff line numberDiff line change
@@ -129,39 +129,45 @@ The bootstrap script requires having [CMake](https://cmake.org/) and [Ninja](htt
129129
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.
130130

131131
1. Clone [llbuild](https://github.com/apple/swift-llbuild) beside the SwiftPM directory.
132-
133-
```bash
134-
$> git clone https://github.com/apple/swift-llbuild llbuild
135-
```
136-
137-
Note: Make sure the directory for llbuild is called "llbuild" and not
138-
"swift-llbuild".
132+
133+
```bash
134+
$> git clone https://github.com/apple/swift-llbuild llbuild
135+
```
136+
137+
> **Note**: Make sure the directory for llbuild is called "llbuild" and not "swift-llbuild".
139138
140139
2. Clone [Yams](https://github.com/jpsim/yams) beside the SwiftPM directory.
141-
142-
```bash
143-
$> git clone https://github.com/jpsim/yams
144-
```
140+
141+
```bash
142+
$> git clone https://github.com/jpsim/yams
143+
```
145144

146145
3. Clone [swift-driver](https://github.com/apple/swift-driver) beside the SwiftPM directory.
147-
148-
```bash
149-
$> git clone https://github.com/apple/swift-driver
150-
```
146+
147+
```bash
148+
$> git clone https://github.com/apple/swift-driver
149+
```
151150

152151
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).
153-
154-
For example, if the latest tag is 0.3.1:
155-
```bash
156-
$> git clone https://github.com/apple/swift-argument-parser --branch 0.3.1
157-
```
158-
159-
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).
160-
161-
For example, if the latest tag is 1.1.3:
162-
```bash
163-
$> git clone https://github.com/apple/swift-crypto --branch 1.1.3
164-
```
152+
153+
For example, if the latest tag is 0.4.3:
154+
```sh
155+
$> git clone https://github.com/apple/swift-argument-parser --branch 0.4.3
156+
```
157+
158+
5. Clone [swift-collections](https://github.com/apple/swift-collections) beside the SwiftPM directory and check out tag with the [latest version](https://github.com/apple/swift-collections/tags).
159+
160+
For example, if the latest tag is 0.0.3:
161+
```sh
162+
$> git clone https://github.com/apple/swift-collections --branch 0.0.3
163+
```
164+
165+
6. 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).
166+
167+
For example, if the latest tag is 1.1.4:
168+
```sh
169+
$> git clone https://github.com/apple/swift-crypto --branch 1.1.4
170+
```
165171

166172
#### Building
167173

0 commit comments

Comments
 (0)