Skip to content

Commit 93ce8a0

Browse files
agisilaosCodaFi
authored andcommitted
Improve README: Add a notice to cd into swift directory before building Swift (swiftlang#16227)
* Improve doc: Add notice to cd into swift directory Added another "step" before someone tries to build swift so I can make the process easier for newbies. * fix typo * adress harlan feedback
1 parent a7bc52f commit 93ce8a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ There are two primary build systems to use: Xcode and Ninja. The Xcode build
149149
system allows you to work in Xcode, but Ninja is a bit faster and supports
150150
more environments.
151151

152+
First, make sure that you're in the swift directory:
153+
154+
cd swift
155+
152156
To build using Ninja, run:
153157

154158
swift/utils/build-script --release-debuginfo
@@ -326,8 +330,8 @@ expressed today.
326330
## Build Dependencies
327331

328332
### CMake
329-
[CMake](https://cmake.org) is the core infrastructure used to configure builds of
330-
Swift and its companion projects; at least version 3.4.3 is required.
333+
[CMake](https://cmake.org) is the core infrastructure used to configure builds of
334+
Swift and its companion projects; at least version 3.4.3 is required.
331335

332336
On macOS, you can download the [CMake Binary Distribution](https://cmake.org/download),
333337
bundled as an application, copy it to `/Applications`, and add the embedded

0 commit comments

Comments
 (0)